diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-20 13:28:22 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-20 13:28:22 +0000 |
commit | 404aa1479965df0d5d019a6a14f62fa696419e4c (patch) | |
tree | c6f3435738900c8d53832eb919b1b2c3d524f2e5 /libbb | |
parent | 753fc33dda8a58173631650d3218e6f7b51ea58d (diff) | |
download | busybox-w32-404aa1479965df0d5d019a6a14f62fa696419e4c.tar.gz busybox-w32-404aa1479965df0d5d019a6a14f62fa696419e4c.tar.bz2 busybox-w32-404aa1479965df0d5d019a6a14f62fa696419e4c.zip |
message string changes, mostly for consistency, also -32 bytes in .rodata
git-svn-id: svn://busybox.net/trunk/busybox@16412 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/bb_pwd.c | 4 | ||||
-rw-r--r-- | libbb/make_directory.c | 2 | ||||
-rw-r--r-- | libbb/xfuncs.c | 2 |
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) | |||
65 | /* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more | 65 | /* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more |
66 | * flexible : | 66 | * flexible : |
67 | * | 67 | * |
68 | * if bufsize is > 0 char *name can not be set to NULL. | 68 | * if bufsize is > 0 char *name cannot be set to NULL. |
69 | * On success username is written on the static allocated | 69 | * On success username is written on the static allocated |
70 | * buffer name (and a pointer to it is returned). | 70 | * buffer name (and a pointer to it is returned). |
71 | * On failure uid as string is written to the static | 71 | * On failure uid as string is written to the static |
@@ -89,7 +89,7 @@ char * bb_getpwuid(char *name, long uid, int bufsize) | |||
89 | } | 89 | } |
90 | 90 | ||
91 | /* | 91 | /* |
92 | * if bufsize is > 0 char *buffer can not be set to NULL. | 92 | * if bufsize is > 0 char *buffer cannot be set to NULL. |
93 | * If idname is not NULL it is written on the static | 93 | * If idname is not NULL it is written on the static |
94 | * allocated buffer (and a pointer to it is returned). | 94 | * allocated buffer (and a pointer to it is returned). |
95 | * if idname is NULL, id as string is written to the static | 95 | * 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) | |||
99 | 99 | ||
100 | } while (1); | 100 | } while (1); |
101 | 101 | ||
102 | bb_perror_msg ("Cannot %s directory `%s'", fail_msg, path); | 102 | bb_perror_msg ("cannot %s directory '%s'", fail_msg, path); |
103 | return -1; | 103 | return -1; |
104 | } | 104 | } |
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) | |||
265 | if (setgid(gid)) bb_error_msg_and_die("setgid"); | 265 | if (setgid(gid)) bb_error_msg_and_die("setgid"); |
266 | } | 266 | } |
267 | 267 | ||
268 | // Die with an error message if we cant' set uid. (See xsetgid() for why.) | 268 | // Die with an error message if we can't set uid. (See xsetgid() for why.) |
269 | void xsetuid(uid_t uid) | 269 | void xsetuid(uid_t uid) |
270 | { | 270 | { |
271 | if (setuid(uid)) bb_error_msg_and_die("setuid"); | 271 | if (setuid(uid)) bb_error_msg_and_die("setuid"); |