aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/fsck.c')
-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 a51c33a1c..9cb9f754d 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;
}