aboutsummaryrefslogtreecommitdiff
path: root/libbb/my_getpwuid.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-08 08:07:40 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-08 08:07:40 +0000
commit94d628c76ab8e1a7837f4fda5a21be531f8efdea (patch)
tree1af1656023891efd0feadf27acb54d24154b73eb /libbb/my_getpwuid.c
parent07f2fea62c38c3926d4dedd47b542bbb8059fcd4 (diff)
downloadbusybox-w32-94d628c76ab8e1a7837f4fda5a21be531f8efdea.tar.gz
busybox-w32-94d628c76ab8e1a7837f4fda5a21be531f8efdea.tar.bz2
busybox-w32-94d628c76ab8e1a7837f4fda5a21be531f8efdea.zip
Tito writes:
Hi to all, This patch contains just some fixes for some misleading comments in my_getpwuid.c and my_getug.c. The code is untouched so this patch will not cause troubles. Please apply. Thanks in advance and Ciao, Tito
Diffstat (limited to 'libbb/my_getpwuid.c')
-rw-r--r--libbb/my_getpwuid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbb/my_getpwuid.c b/libbb/my_getpwuid.c
index 3195a2182..7da360ac8 100644
--- a/libbb/my_getpwuid.c
+++ b/libbb/my_getpwuid.c
@@ -22,15 +22,15 @@
22 /* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more 22 /* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more
23 * flexible : 23 * flexible :
24 * 24 *
25 * if bufsize is > 0 char *user can not be set to NULL. 25 * if bufsize is > 0 char *name can not be set to NULL.
26 * On success username is written on static allocated buffer name 26 * On success username is written on the static allocated buffer name
27 * (and a pointer to it is returned). 27 * (and a pointer to it is returned).
28 * On failure uid as string is written to static allocated buffer name 28 * On failure uid as string is written to the static allocated buffer name
29 * and NULL is returned. 29 * and NULL is returned.
30 * if bufsize is = 0 char *user can be set to NULL. 30 * if bufsize is = 0 char *name can be set to NULL.
31 * On success username is returned. 31 * On success username is returned.
32 * On failure NULL is returned. 32 * On failure NULL is returned.
33 * if bufsize is < 0 char *user can be set to NULL 33 * if bufsize is < 0 char *name can be set to NULL
34 * On success username is returned. 34 * On success username is returned.
35 * On failure an error message is printed and the program exits. 35 * On failure an error message is printed and the program exits.
36 */ 36 */