summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2008-09-03 11:13:54 +0000
committerjsg <jsg@openbsd.org>2008-09-03 11:13:54 +0000
commiteb176802d46f4887de5db4e747f48fc3b3c9cbfb (patch)
tree65445170ac3e17aa10b6454e25333800fc2a4a6e
parent; -> : in getopt optstring. (diff)
downloadwireguard-openbsd-eb176802d46f4887de5db4e747f48fc3b3c9cbfb.tar.xz
wireguard-openbsd-eb176802d46f4887de5db4e747f48fc3b3c9cbfb.zip
Missing break in case statement.
-rw-r--r--sbin/disklabel/editor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 27877d5b722..f8a5666d69e 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.170 2008/08/10 11:22:40 sobrado Exp $ */
+/* $OpenBSD: editor.c,v 1.171 2008/09/03 11:13:54 jsg 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.170 2008/08/10 11:22:40 sobrado Exp $";
+static char rcsid[] = "$OpenBSD: editor.c,v 1.171 2008/09/03 11:13:54 jsg Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -1428,6 +1428,7 @@ editor_help(char *arg)
"and offset in sectors (a sector is usually 512 bytes). The 'p' command\n"
"takes an optional units argument. Possible values are 'b' for bytes, 'c'\n"
"for cylinders, 'k' for kilobytes, 'm' for megabytes, and 'g' for gigabytes.\n");
+ break;
case 'l':
puts(
"The 'l' command prints the header of the disk label. By default, it prints\n"