diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-09-20 21:06:17 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-09-20 21:06:17 +0000 |
commit | d5bd137a247145afabfbc3a3c376ad8787381d8f (patch) | |
tree | e55887632741516332495c4fe7cf4169e71984c3 /libbb/procps.c | |
parent | f912ebb7405bcb6cbcdf952bdf2fc2310d93cb3a (diff) | |
download | busybox-w32-d5bd137a247145afabfbc3a3c376ad8787381d8f.tar.gz busybox-w32-d5bd137a247145afabfbc3a3c376ad8787381d8f.tar.bz2 busybox-w32-d5bd137a247145afabfbc3a3c376ad8787381d8f.zip |
- rename libbb's password helpers as suggested in libbb.h
my_getpwnam -> bb_xgetpwnam /* dies on error */
my_getgrnam -> bb_xgetgrnam /* dies on error */
my_getgrgid -> bb_getgrgid
my_getpwuid -> bb_getpwuid
my_getug -> bb_getug
Diffstat (limited to 'libbb/procps.c')
-rw-r--r-- | libbb/procps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index 1e9d6869b..3e863b0de 100644 --- a/libbb/procps.c +++ b/libbb/procps.c | |||
@@ -53,7 +53,7 @@ extern procps_status_t * procps_scan(int save_user_arg0) | |||
53 | sprintf(status, "/proc/%d", pid); | 53 | sprintf(status, "/proc/%d", pid); |
54 | if(stat(status, &sb)) | 54 | if(stat(status, &sb)) |
55 | continue; | 55 | continue; |
56 | my_getpwuid(curstatus.user, sb.st_uid, sizeof(curstatus.user)); | 56 | bb_getpwuid(curstatus.user, sb.st_uid, sizeof(curstatus.user)); |
57 | 57 | ||
58 | sprintf(status, "/proc/%d/stat", pid); | 58 | sprintf(status, "/proc/%d/stat", pid); |
59 | 59 | ||