diff options
author | Denis Vlasenko | 2008-03-28 02:24:59 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-03-28 02:24:59 +0000 |
commit | c4523c2b3da206312ed0b007a46eace58659ec31 (patch) | |
tree | 5d4f169b7de1d73e7948f2bf8ecad79df2f18c6b /e2fsprogs/old_e2fsprogs | |
parent | 2570b2e5759e8ac32b0922d71056bd426caae9f1 (diff) | |
download | busybox-c4523c2b3da206312ed0b007a46eace58659ec31.zip busybox-c4523c2b3da206312ed0b007a46eace58659ec31.tar.gz |
fix a few stray unguarded strdup's
Diffstat (limited to 'e2fsprogs/old_e2fsprogs')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/old_e2fsprogs/fsck.c b/e2fsprogs/old_e2fsprogs/fsck.c index a51c33a..9cb9f75 100644 --- a/e2fsprogs/old_e2fsprogs/fsck.c +++ b/e2fsprogs/old_e2fsprogs/fsck.c @@ -285,7 +285,7 @@ static char *string_copy(const char *s) if (!s) return 0; - ret = strdup(s); + ret = xstrdup(s); return ret; } |