aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-20 13:28:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-20 13:28:22 +0000
commite1a0d486e4804eae098571f1a6788394c2ee51ae (patch)
treec6f3435738900c8d53832eb919b1b2c3d524f2e5 /libbb
parentdd2982882bb192ea757f32514bc2ea0bc96f5ba0 (diff)
downloadbusybox-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.gz
message string changes, mostly for consistency, also -32 bytes in .rodata
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 3a214ca33..1776fa4f6 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 01a864119..fbec4e20e 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 0a5abb878..0a6d90de5 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");