aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_file.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-02-22 02:24:17 +0000
committerEd Maste <emaste@FreeBSD.org>2018-02-22 02:24:17 +0000
commiteae594f7d567f6e4abe04e96412683534e5c7109 (patch)
tree3f9a5d3ac59e5db010eb1fd56f49801cb657bbd6 /sys/compat/linux/linux_file.c
parent6619d9fb706d34ce65e4ffcfa2ae019f9f372ded (diff)
downloadsrc-eae594f7d567f6e4abe04e96412683534e5c7109.tar.gz
src-eae594f7d567f6e4abe04e96412683534e5c7109.zip
Correct proper nouns in the Linuxulator
- Capitalize Linux - Spell FreeBSD out in full - Address some style(9) on changed lines Sponsored by: Turing Robotic Industries Inc.
Notes
Notes: svn path=/head/; revision=329794
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r--sys/compat/linux/linux_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index 6979e1dd91d4..2e02966e6d5a 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -525,7 +525,7 @@ linux_access(struct thread *td, struct linux_access_args *args)
char *path;
int error;
- /* linux convention */
+ /* Linux convention. */
if (args->amode & ~(F_OK | X_OK | W_OK | R_OK))
return (EINVAL);
@@ -548,7 +548,7 @@ linux_faccessat(struct thread *td, struct linux_faccessat_args *args)
char *path;
int error, dfd;
- /* linux convention */
+ /* Linux convention. */
if (args->amode & ~(F_OK | X_OK | W_OK | R_OK))
return (EINVAL);
@@ -991,7 +991,7 @@ linux_pread(struct thread *td, struct linux_pread_args *uap)
error = kern_pread(td, uap->fd, uap->buf, uap->nbyte, uap->offset);
if (error == 0) {
- /* This seems to violate POSIX but linux does it */
+ /* This seems to violate POSIX but Linux does it. */
error = fgetvp(td, uap->fd,
cap_rights_init(&rights, CAP_PREAD), &vp);
if (error != 0)