diff options
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r-- | util-linux/umount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index b5696f78b..b74b11027 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -66,8 +66,8 @@ int umount_main(int argc, char **argv) | |||
66 | } else while (getmntent_r(fp,&me,path,sizeof(path))) { | 66 | } else while (getmntent_r(fp,&me,path,sizeof(path))) { |
67 | m = xmalloc(sizeof(struct mtab_list)); | 67 | m = xmalloc(sizeof(struct mtab_list)); |
68 | m->next = mtl; | 68 | m->next = mtl; |
69 | m->device = bb_xstrdup(me.mnt_fsname); | 69 | m->device = xstrdup(me.mnt_fsname); |
70 | m->dir = bb_xstrdup(me.mnt_dir); | 70 | m->dir = xstrdup(me.mnt_dir); |
71 | mtl = m; | 71 | mtl = m; |
72 | } | 72 | } |
73 | endmntent(fp); | 73 | endmntent(fp); |