Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/mkubootimage add missing break after -m case



details:   https://anonhg.NetBSD.org/src/rev/b2202ec7ee33
branches:  trunk
changeset: 827613:b2202ec7ee33
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Nov 05 11:07:32 2017 +0000

description:
add missing break after -m case

diffstat:

 usr.bin/mkubootimage/mkubootimage.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d8bda114db61 -r b2202ec7ee33 usr.bin/mkubootimage/mkubootimage.c
--- a/usr.bin/mkubootimage/mkubootimage.c       Sun Nov 05 09:11:43 2017 +0000
+++ b/usr.bin/mkubootimage/mkubootimage.c       Sun Nov 05 11:07:32 2017 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
                            (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;



Home | Main Index | Thread Index | Old Index