summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/bb_pwd.c4
-rw-r--r--libbb/make_directory.c2
-rw-r--r--libbb/xfuncs.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/libbb/bb_pwd.c b/libbb/bb_pwd.c
index 3a214ca..1776fa4 100644
--- a/libbb/bb_pwd.c
+++ b/libbb/bb_pwd.c
@@ -65,7 +65,7 @@ long bb_xgetpwnam(const char *name)
/* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more
* flexible :
*
- * if bufsize is > 0 char *name can not be set to NULL.
+ * if bufsize is > 0 char *name cannot be set to NULL.
* On success username is written on the static allocated
* buffer name (and a pointer to it is returned).
* On failure uid as string is written to the static
@@ -89,7 +89,7 @@ char * bb_getpwuid(char *name, long uid, int bufsize)
}
/*
- * if bufsize is > 0 char *buffer can not be set to NULL.
+ * if bufsize is > 0 char *buffer cannot be set to NULL.
* If idname is not NULL it is written on the static
* allocated buffer (and a pointer to it is returned).
* if idname is NULL, id as string is written to the static
diff --git a/libbb/make_directory.c b/libbb/make_directory.c
index 01a8641..fbec4e2 100644
--- a/libbb/make_directory.c
+++ b/libbb/make_directory.c
@@ -99,6 +99,6 @@ int bb_make_directory (char *path, long mode, int flags)
} while (1);
- bb_perror_msg ("Cannot %s directory `%s'", fail_msg, path);
+ bb_perror_msg ("cannot %s directory '%s'", fail_msg, path);
return -1;
}
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 0a5abb8..0a6d90d 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -265,7 +265,7 @@ void xsetgid(gid_t gid)
if (setgid(gid)) bb_error_msg_and_die("setgid");
}
-// Die with an error message if we cant' set uid. (See xsetgid() for why.)
+// Die with an error message if we can't set uid. (See xsetgid() for why.)
void xsetuid(uid_t uid)
{
if (setuid(uid)) bb_error_msg_and_die("setuid");