changeset 5:4372fb5eb200

Thinko fix.
author landley@driftwood
date Thu, 26 Oct 2006 12:04:17 -0400
parents 732b055e17f7
children 7806b8026931
files lib/getmountlist.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/getmountlist.c	Wed Oct 25 18:38:37 2006 -0400
+++ b/lib/getmountlist.c	Thu Oct 26 12:04:17 2006 -0400
@@ -30,8 +30,7 @@
 			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;
 		}
 	}