diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-24 23:55:43 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-26 11:24:42 -0500 |
commit | b65205466248531d52f9d6dba16195864b023d4a (patch) | |
tree | 9cd1c07512a5e12c0cf133dacf16fb0a670b3a29 /src/fsck | |
parent | 91f0ac7d40e4b89ccb8430b34dbf907f305763fa (diff) |
systemctl: simplify start_unit
Diffstat (limited to 'src/fsck')
-rw-r--r-- | src/fsck/fsck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 4f1aa22f9d..9170768cec 100644 --- a/src/fsck/fsck.c +++ b/src/fsck/fsck.c @@ -73,7 +73,8 @@ static void start_target(const char *target) { } static int parse_proc_cmdline(void) { - char *line, *w, *state; + _cleanup_free_ char *line = NULL; + char *w, *state; size_t l; int r; @@ -104,7 +105,6 @@ static int parse_proc_cmdline(void) { #endif } - free(line); return 0; } |