aboutsummaryrefslogtreecommitdiff
path: root/src/start-stop-daemon.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-19 14:54:35 +0000
committerRoy Marples <roy@marples.name>2007-04-19 14:54:35 +0000
commit2569e85579bc5c7d676865b386398119f04a5912 (patch)
tree41724e54856c9323b53428e49258f56f1102c0ed /src/start-stop-daemon.c
parent3ed60d52026c484dce2d1856ea3bb893b8ee7d92 (diff)
strdup -> rc_xstrdup
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r--src/start-stop-daemon.c2
1 files changed, 1 insertions, 1 deletions
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