diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-05-17 02:49:46 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-05-17 02:49:46 +0000 |
commit | 15a199aa3147f53a631ca60058b7e0873b01de30 (patch) | |
tree | 006c7e4a3060eb7a4443ed80a991f995c3ca8bc9 | |
parent | 833050520ae37f3c37941b3d9a92b72d3f30ab78 (diff) |
No need to write mount point info twice in 'w' command in Editor.
-rw-r--r-- | sbin/disklabel/editor.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index cba414f145c..d958136642b 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.211 2009/05/17 01:17:12 krw Exp $ */ +/* $OpenBSD: editor.c,v 1.212 2009/05/17 02:49:45 krw Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com> @@ -17,7 +17,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: editor.c,v 1.211 2009/05/17 01:17:12 krw Exp $"; +static char rcsid[] = "$OpenBSD: editor.c,v 1.212 2009/05/17 02:49:45 krw Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -437,8 +437,6 @@ editor(struct disklabel *lp, int f) puts("In no change mode, not writing label."); break; } - /* Save mountpoint info if there is any. */ - mpsave(&label); /* Write label to disk. */ if (writelabel(f, bootarea, &label) != 0) |