Mercurial > hg > toybox
changeset 6:7806b8026931
Rest of thinko fix.
author | landley@driftwood |
---|---|
date | Thu, 26 Oct 2006 12:04:37 -0400 |
parents | 4372fb5eb200 |
children | fc9c0503d5e2 |
files | lib/getmountlist.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;