summaryrefslogtreecommitdiff
path: root/debianutils/start_stop_daemon.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2005-09-20 21:06:17 +0000
committerBernhard Reutner-Fischer2005-09-20 21:06:17 +0000
commitd5bd137a247145afabfbc3a3c376ad8787381d8f (patch)
treee55887632741516332495c4fe7cf4169e71984c3 /debianutils/start_stop_daemon.c
parentf912ebb7405bcb6cbcdf952bdf2fc2310d93cb3a (diff)
downloadbusybox-d5bd137a247145afabfbc3a3c376ad8787381d8f.zip
busybox-d5bd137a247145afabfbc3a3c376ad8787381d8f.tar.gz
- 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 'debianutils/start_stop_daemon.c')
-rw-r--r--debianutils/start_stop_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index b1ebe2f..f9310af 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -265,7 +265,7 @@ start_stop_daemon_main(int argc, char **argv)
argv += optind;
if (userspec && sscanf(userspec, "%d", &user_id) != 1)
- user_id = my_getpwnam(userspec);
+ user_id = bb_xgetpwnam(userspec);
if (opt & SSD_CTX_STOP) {
do_stop();