aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlandley <landley@driftwood>2006-10-26 12:04:37 -0400
committerlandley <landley@driftwood>2006-10-26 12:04:37 -0400
commit2f588f7f47c43b5949e520b80cfd755a6b4ca4e6 (patch)
tree4ceef7a7b81030887f867c06999943e5df44c959 /lib
parent8ce06f2ed77c0b3303c3dca0f8cc510346c12eeb (diff)
downloadtoybox-2f588f7f47c43b5949e520b80cfd755a6b4ca4e6.tar.gz
Rest of thinko fix.
Diffstat (limited to 'lib')
-rw-r--r--lib/getmountlist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/getmountlist.c b/lib/getmountlist.c
index 91ba8c10..d2484937 100644
--- a/lib/getmountlist.c
+++ b/lib/getmountlist.c
@@ -21,8 +21,6 @@ struct mtab_list *getmountlist(int die)
if (die) error_exit("cannot open %s", path_mounts);
} else {
while (getmntent_r(fp, &me, evilbuf, sizeof(evilbuf))) {
- char *str;
-
mt = xmalloc(sizeof(struct mtab_list) + strlen(me.mnt_fsname) +
strlen(me.mnt_dir) + strlen(me.mnt_type) + 3);
mt->next = mtlist;