Module Name:    src
Committed By:   jmcneill
Date:           Sun Nov  5 11:07:32 UTC 2017

Modified Files:
        src/usr.bin/mkubootimage: mkubootimage.c

Log Message:
add missing break after -m case


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/mkubootimage/mkubootimage.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/mkubootimage/mkubootimage.c
diff -u src/usr.bin/mkubootimage/mkubootimage.c:1.21 src/usr.bin/mkubootimage/mkubootimage.c:1.22
--- src/usr.bin/mkubootimage/mkubootimage.c:1.21	Fri Sep 29 21:18:28 2017
+++ src/usr.bin/mkubootimage/mkubootimage.c	Sun Nov  5 11:07:32 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: mkubootimage.c,v 1.21 2017/09/29 21:18:28 jmcneill Exp $ */
+/* $NetBSD: mkubootimage.c,v 1.22 2017/11/05 11:07:32 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2010 Jared D. McNeill <jmcne...@invisible.ca>
@@ -30,7 +30,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: mkubootimage.c,v 1.21 2017/09/29 21:18:28 jmcneill Exp $");
+__RCSID("$NetBSD: mkubootimage.c,v 1.22 2017/11/05 11:07:32 jmcneill Exp $");
 
 #include <sys/mman.h>
 #include <sys/stat.h>
@@ -411,6 +411,7 @@ main(int argc, char *argv[])
 			    (num == ULONG_MAX || num == 0)))
 				errx(1, "illegal number -- %s", optarg);
 			image_magic = (uint32_t)num;
+			break;
 		case 'n':	/* name */
 			image_name = strdup(optarg);
 			break;

Reply via email to