From 2f588f7f47c43b5949e520b80cfd755a6b4ca4e6 Mon Sep 17 00:00:00 2001 From: landley Date: Thu, 26 Oct 2006 12:04:37 -0400 Subject: Rest of thinko fix. --- lib/getmountlist.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3