summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-17 08:34:03 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-17 08:34:03 +0000
commitbfb87f2d5138f6494d7ff5f92fca34ed6040ac84 (patch)
tree95858e2de40e9e2a681fb3700a6f1192cf0ed904
parente6fc30da61f72aa4266dea8f131c0ca7c4a79f4d (diff)
downloadopenrc-bfb87f2d5138f6494d7ff5f92fca34ed6040ac84.tar.gz
openrc-bfb87f2d5138f6494d7ff5f92fca34ed6040ac84.tar.bz2
openrc-bfb87f2d5138f6494d7ff5f92fca34ed6040ac84.tar.xz
Use xstrdup for style.
-rw-r--r--src/rc/rc-depend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-depend.c b/src/rc/rc-depend.c
index 7a4656e..50227cc 100644
--- a/src/rc/rc-depend.c
+++ b/src/rc/rc-depend.c
@@ -170,7 +170,7 @@ rc_depend(int argc, char **argv)
options &= RC_DEP_TRACE;
break;
case 'F':
- deptree_file = strdup(optarg);
+ deptree_file = xstrdup(optarg);
break;
case_RC_COMMON_GETOPT