From 15a199aa3147f53a631ca60058b7e0873b01de30 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Sun, 17 May 2009 02:49:46 +0000 Subject: No need to write mount point info twice in 'w' command in Editor. --- sbin/disklabel/editor.c | 6 ++---- 1 file 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 @@ -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 @@ -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) -- cgit v1.2.3