summaryrefslogtreecommitdiffhomepage
path: root/debianutils
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-09-20 21:06:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-09-20 21:06:17 +0000
commitd5bd137a247145afabfbc3a3c376ad8787381d8f (patch)
treee55887632741516332495c4fe7cf4169e71984c3 /debianutils
parentf912ebb7405bcb6cbcdf952bdf2fc2310d93cb3a (diff)
- 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')
-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 b1ebe2fa7..f9310af8d 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();