summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-06-26 18:27:17 +0000
committerEd Schouten <ed@FreeBSD.org>2011-06-26 18:27:17 +0000
commit1d9a9b79d0111a5465b05863b492a7d375e243fd (patch)
tree821b5367fa27ac28076891eb2b0c495217113de1
parent7c9669276e4a26554643756f0c0ff180b990b625 (diff)
Notes
-rw-r--r--lib/libc/gen/getutxent.34
-rw-r--r--lib/libc/gen/posix_spawn.32
-rw-r--r--lib/libc/gen/posix_spawn.c4
-rw-r--r--lib/libc/gen/pututxline.c4
-rw-r--r--lib/libc/stdlib/ptsname.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/gen/getutxent.3 b/lib/libc/gen/getutxent.3
index 5c8b793602752..19205556a8763 100644
--- a/lib/libc/gen/getutxent.3
+++ b/lib/libc/gen/getutxent.3
@@ -175,7 +175,7 @@ prefix, corresponding with the device used to facilitate the user login
session.
If no TTY character device is used, this field is left blank.
This field is only applicable to entries of type
-.Dv USER_PROCESS
+.Dv USER_PROCESS
and
.Dv LOGIN_PROCESS .
.It Fa ut_host
@@ -473,7 +473,7 @@ are extensions.
.Sh HISTORY
These functions appeared in
.Fx 9.0 .
-They replaced the
+They replaced the
.In utmp.h
interface.
.Sh AUTHORS
diff --git a/lib/libc/gen/posix_spawn.3 b/lib/libc/gen/posix_spawn.3
index 3d902bf24ac8e..73359b44b1683 100644
--- a/lib/libc/gen/posix_spawn.3
+++ b/lib/libc/gen/posix_spawn.3
@@ -167,7 +167,7 @@ group IDs for the child process are changed as specified in the
attributes object referenced by
.Fa attrp .
.It
-The file actions specified by the spawn file actions object are
+The file actions specified by the spawn file actions object are
performed in the order in which they were added to the spawn file
actions object.
.It
diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c
index 58044b3a64fa3..e4ceb2085e236 100644
--- a/lib/libc/gen/posix_spawn.c
+++ b/lib/libc/gen/posix_spawn.c
@@ -182,7 +182,7 @@ process_file_actions(const posix_spawn_file_actions_t fa)
if (error)
return (error);
}
- return (0);
+ return (0);
}
static int
@@ -193,7 +193,7 @@ do_posix_spawn(pid_t *pid, const char *path,
{
pid_t p;
volatile int error = 0;
-
+
p = vfork();
switch (p) {
case -1:
diff --git a/lib/libc/gen/pututxline.c b/lib/libc/gen/pututxline.c
index 4caa00c9d1608..0cc7a0168ca84 100644
--- a/lib/libc/gen/pututxline.c
+++ b/lib/libc/gen/pututxline.c
@@ -57,7 +57,7 @@ futx_open(const char *file)
errno = EFTYPE;
return (NULL);
}
-
+
fp = fdopen(fd, "r+");
if (fp == NULL) {
_close(fd);
@@ -103,7 +103,7 @@ utx_active_add(const struct futx *fu)
/* Allow us to overwrite unused records. */
if (partial == -1) {
partial = ftello(fp);
- /*
+ /*
* Distinguish errors from valid values so we
* don't overwrite good data by accident.
*/
diff --git a/lib/libc/stdlib/ptsname.c b/lib/libc/stdlib/ptsname.c
index fc3b719a1f10e..40b140de76105 100644
--- a/lib/libc/stdlib/ptsname.c
+++ b/lib/libc/stdlib/ptsname.c
@@ -82,7 +82,7 @@ ptsname(int fildes)
/* Make sure fildes points to a master device. */
if (__isptmaster(fildes) != 0)
goto done;
-
+
if (fdevname_r(fildes, pt_slave + (sizeof _PATH_DEV - 1),
sizeof pt_slave - (sizeof _PATH_DEV - 1)) != NULL)
ret = pt_slave;