diff options
Diffstat (limited to 'e2fsprogs/util.c')
-rw-r--r-- | e2fsprogs/util.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/e2fsprogs/util.c b/e2fsprogs/util.c index 537021df7..151af3211 100644 --- a/e2fsprogs/util.c +++ b/e2fsprogs/util.c | |||
@@ -110,14 +110,7 @@ void parse_journal_opts(char **journal_device, int *journal_flags, | |||
110 | { | 110 | { |
111 | char *buf, *token, *next, *p, *arg; | 111 | char *buf, *token, *next, *p, *arg; |
112 | int journal_usage = 0; | 112 | int journal_usage = 0; |
113 | #if 0 | ||
114 | int len; | ||
115 | len = strlen(opts); | ||
116 | buf = xmalloc(len+1); | ||
117 | strcpy(buf, opts); | ||
118 | #else | ||
119 | buf = bb_xstrdup(opts); | 113 | buf = bb_xstrdup(opts); |
120 | #endif | ||
121 | for (token = buf; token && *token; token = next) { | 114 | for (token = buf; token && *token; token = next) { |
122 | p = strchr(token, ','); | 115 | p = strchr(token, ','); |
123 | next = 0; | 116 | next = 0; |