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:
00f87f1
)
Thinko fix.
author
landley
<landley@driftwood>
Thu, 26 Oct 2006 16:04:17 +0000
(12:04 -0400)
committer
landley
<landley@driftwood>
Thu, 26 Oct 2006 16:04:17 +0000
(12:04 -0400)
lib/getmountlist.c
patch
|
blob
|
history
diff --git
a/lib/getmountlist.c
b/lib/getmountlist.c
index
16b828b
..
91ba8c1
100644
(file)
--- a/
lib/getmountlist.c
+++ b/
lib/getmountlist.c
@@
-30,8
+30,7
@@
struct mtab_list *getmountlist(int die)
mt->dir = mt->type + strlen(mt->type) + 1;
strcpy(mt->dir, me.mnt_dir);
mt->device = mt->dir + strlen(mt->dir) + 1;
- mt->device = ++str;
- strcpy(str, me.mnt_fsname);
+ strcpy(mt->device, me.mnt_fsname);
mtlist = mt;
}
}