svn commit: r297063 - head/sys/compat/linux

Dmitry Chagin dchagin at FreeBSD.org
Sun Mar 20 14:06:28 UTC 2016


Author: dchagin
Date: Sun Mar 20 14:06:27 2016
New Revision: 297063
URL: https://svnweb.freebsd.org/changeset/base/297063

Log:
  Whitespaces, style(9) fixes. No functional changes.
  
  MFC after:	1 week

Modified:
  head/sys/compat/linux/linux_stats.c

Modified: head/sys/compat/linux/linux_stats.c
==============================================================================
--- head/sys/compat/linux/linux_stats.c	Sun Mar 20 13:23:01 2016	(r297062)
+++ head/sys/compat/linux/linux_stats.c	Sun Mar 20 14:06:27 2016	(r297063)
@@ -257,7 +257,7 @@ static int
 stat_copyout(struct stat *buf, void *ubuf)
 {
 	struct l_stat lbuf;
-	
+
 	bzero(&lbuf, sizeof(lbuf));
 	lbuf.st_dev = buf->st_dev;
 	lbuf.st_ino = buf->st_ino;
@@ -303,7 +303,7 @@ linux_stat(struct thread *td, struct lin
 		return (error);
 	}
 	LFREEPATH(path);
-	return(stat_copyout(&buf, args->up));
+	return (stat_copyout(&buf, args->up));
 }
 
 int
@@ -325,7 +325,7 @@ linux_lstat(struct thread *td, struct li
 		return (error);
 	}
 	LFREEPATH(path);
-	return(stat_copyout(&buf, args->up));
+	return (stat_copyout(&buf, args->up));
 }
 #endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */
 
@@ -416,7 +416,7 @@ linux_statfs(struct thread *td, struct l
 	if (error)
 		return (error);
 	bsd_to_linux_statfs(&bsd_statfs, &linux_statfs);
-	return copyout(&linux_statfs, args->buf, sizeof(linux_statfs));
+	return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
 }
 
 #if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32))
@@ -458,7 +458,7 @@ linux_statfs64(struct thread *td, struct
 	if (error)
 		return (error);
 	bsd_to_linux_statfs64(&bsd_statfs, &linux_statfs);
-	return copyout(&linux_statfs, args->buf, sizeof(linux_statfs));
+	return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
 }
 
 int
@@ -498,7 +498,7 @@ linux_fstatfs(struct thread *td, struct 
 	if (error)
 		return error;
 	bsd_to_linux_statfs(&bsd_statfs, &linux_statfs);
-	return copyout(&linux_statfs, args->buf, sizeof(linux_statfs));
+	return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
 }
 
 struct l_ustat


More information about the svn-src-all mailing list