# HG changeset patch # User landley@driftwood # Date 1161878677 14400 # Node ID 7806b8026931785c7d7e2a8d032631a1e3ae8b07 # Parent 4372fb5eb2005f9b2c38620b5e44fda23116ea2c Rest of thinko fix. diff -r 4372fb5eb200 -r 7806b8026931 lib/getmountlist.c --- a/lib/getmountlist.c Thu Oct 26 12:04:17 2006 -0400 +++ b/lib/getmountlist.c Thu Oct 26 12:04:37 2006 -0400 @@ -21,8 +21,6 @@ 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;