aboutsummaryrefslogtreecommitdiff
path: root/src/rc.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/rc.c
parent3ed60d52026c484dce2d1856ea3bb893b8ee7d92 (diff)
strdup -> rc_xstrdup
Diffstat (limited to 'src/rc.c')
-rw-r--r--src/rc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc.c b/src/rc.c
index 4a583ad8..d2468dc2 100644
--- a/src/rc.c
+++ b/src/rc.c
@@ -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");