summaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
authorDenis Vlasenko2008-03-28 02:24:59 +0000
committerDenis Vlasenko2008-03-28 02:24:59 +0000
commitc4523c2b3da206312ed0b007a46eace58659ec31 (patch)
tree5d4f169b7de1d73e7948f2bf8ecad79df2f18c6b /e2fsprogs
parent2570b2e5759e8ac32b0922d71056bd426caae9f1 (diff)
downloadbusybox-c4523c2b3da206312ed0b007a46eace58659ec31.zip
busybox-c4523c2b3da206312ed0b007a46eace58659ec31.tar.gz
fix a few stray unguarded strdup's
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/old_e2fsprogs/fsck.c2
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;
}