projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ce06f2
)
Rest of thinko fix.
author
landley
<landley@driftwood>
Thu, 26 Oct 2006 16:04:37 +0000
(12:04 -0400)
committer
landley
<landley@driftwood>
Thu, 26 Oct 2006 16:04:37 +0000
(12:04 -0400)
lib/getmountlist.c
patch
|
blob
|
history
diff --git
a/lib/getmountlist.c
b/lib/getmountlist.c
index
91ba8c1
..
d248493
100644
(file)
--- 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;