summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2007-02-24 16:49:25 +0000
committernetchild <netchild@FreeBSD.org>2007-02-24 16:49:25 +0000
commit888f5e57b2c6d3791876a764fe95272318c69e47 (patch)
tree48c08e4600fc74cf326bb70101d0be9c156a2c50 /sys/compat
parentd9c67547e5e693ad8da5b127031a0d06d9c61d7a (diff)
downloadFreeBSD-src-888f5e57b2c6d3791876a764fe95272318c69e47.zip
FreeBSD-src-888f5e57b2c6d3791876a764fe95272318c69e47.tar.gz
Partial MFp4 of 114977:
Whitespace commit: Fix grammar, spelling and punctuation. Submitted by: "Scot Hetzel" <swhetzel@gmail.com>
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_emul.c2
-rw-r--r--sys/compat/linux/linux_misc.c9
-rw-r--r--sys/compat/linux/linux_uid16.c7
-rw-r--r--sys/compat/linux/linux_util.c9
4 files changed, 12 insertions, 15 deletions
diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c
index c2f6db1..0209d89 100644
--- a/sys/compat/linux/linux_emul.c
+++ b/sys/compat/linux/linux_emul.c
@@ -212,7 +212,7 @@ linux_proc_exit(void *arg __unused, struct proc *p)
error = linux_sys_futex(FIRST_THREAD_IN_PROC(p), &cup);
/*
* this cannot happen at the moment and if this happens it
- * probably mean there is a userspace bug
+ * probably means there is a user space bug
*/
if (error)
printf(LMSG("futex stuff in proc_exit failed.\n"));
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index f5504dc..0d91e19 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -833,7 +833,7 @@ linux_waitpid(struct thread *td, struct linux_waitpid_args *args)
args->pid, (void *)args->status, args->options);
#endif
/*
- * this is necessary because the test in kern_wait doesnt work
+ * this is necessary because the test in kern_wait doesn't work
* because we mess with the options here
*/
if (args->options & ~(WUNTRACED | WNOHANG | WCONTINUED | __WCLONE))
@@ -1418,10 +1418,9 @@ linux_reboot(struct thread *td, struct linux_reboot_args *args)
/*
* The FreeBSD native getpid(2), getgid(2) and getuid(2) also modify
- * td->td_retval[1] when COMPAT_43 is defined. This
- * globbers registers that are assumed to be preserved. The following
- * lightweight syscalls fixes this. See also linux_getgid16() and
- * linux_getuid16() in linux_uid16.c.
+ * td->td_retval[1] when COMPAT_43 is defined. This clobbers registers that
+ * are assumed to be preserved. The following lightweight syscalls fixes
+ * this. See also linux_getgid16() and linux_getuid16() in linux_uid16.c
*
* linux_getpid() - MP SAFE
* linux_getgid() - MP SAFE
diff --git a/sys/compat/linux/linux_uid16.c b/sys/compat/linux/linux_uid16.c
index ec15826..a8a1f5d 100644
--- a/sys/compat/linux/linux_uid16.c
+++ b/sys/compat/linux/linux_uid16.c
@@ -199,10 +199,9 @@ linux_getgroups16(struct thread *td, struct linux_getgroups16_args *args)
/*
* The FreeBSD native getgid(2) and getuid(2) also modify td->td_retval[1]
- * when COMPAT_43 is defined. This globbers registers that
- * are assumed to be preserved. The following lightweight syscalls fixes
- * this. See also linux_getpid(2), linux_getgid(2) and linux_getuid(2) in
- * linux_misc.c
+ * when COMPAT_43 is defined. This clobbers registers that are assumed to
+ * be preserved. The following lightweight syscalls fixes this. See also
+ * linux_getpid(2), linux_getgid(2) and linux_getuid(2) in linux_misc.c
*
* linux_getgid16() - MP SAFE
* linux_getuid16() - MP SAFE
diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c
index 8103c3a..222197c 100644
--- a/sys/compat/linux/linux_util.c
+++ b/sys/compat/linux/linux_util.c
@@ -58,12 +58,11 @@ __FBSDID("$FreeBSD$");
const char linux_emul_path[] = "/compat/linux";
/*
- * Search an alternate path before passing pathname arguments on
- * to system calls. Useful for keeping a separate 'emulation tree'.
+ * Search an alternate path before passing pathname arguments on to
+ * system calls. Useful for keeping a separate 'emulation tree'.
*
- * If cflag is set, we check if an attempt can be made to create
- * the named file, i.e. we check if the directory it should
- * be in exists.
+ * If cflag is set, we check if an attempt can be made to create the
+ * named file, i.e. we check if the directory it should be in exists.
*/
int
linux_emul_convpath(td, path, pathseg, pbuf, cflag)
OpenPOWER on IntegriCloud