diff options
author | Roy Marples <roy@marples.name> | 2007-04-19 14:54:35 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-19 14:54:35 +0000 |
commit | 2569e85579bc5c7d676865b386398119f04a5912 (patch) | |
tree | 41724e54856c9323b53428e49258f56f1102c0ed /src/rc.c | |
parent | 3ed60d52026c484dce2d1856ea3bb893b8ee7d92 (diff) |
strdup -> rc_xstrdup
Diffstat (limited to 'src/rc.c')
-rw-r--r-- | src/rc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -161,7 +161,7 @@ static int do_e (int argc, char **argv) } if (message) - fmt = strdup ("%s"); + fmt = rc_xstrdup ("%s"); if (strcmp (applet, "einfo") == 0) einfo (fmt, message); @@ -482,7 +482,7 @@ int main (int argc, char **argv) char ksoftbuffer [PATH_MAX]; if (argv[0]) - applet = strdup (basename (argv[0])); + applet = rc_xstrdup (basename (argv[0])); if (! applet) eerrorx ("arguments required"); |