From 2569e85579bc5c7d676865b386398119f04a5912 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 19 Apr 2007 14:54:35 +0000 Subject: strdup -> rc_xstrdup --- src/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/start-stop-daemon.c') diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c index 82270668..6bf54138 100644 --- a/src/start-stop-daemon.c +++ b/src/start-stop-daemon.c @@ -567,7 +567,7 @@ int main (int argc, char **argv) char *cu = strsep (&p, ":"); struct passwd *pw = NULL; - changeuser = strdup (cu); + changeuser = rc_xstrdup (cu); if (sscanf (cu, "%d", &tid) != 1) pw = getpwnam (cu); else -- cgit v1.2.3