Source-Changes-HG archive

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

[src/trunk]: src/sbin/gpt Fix output in an error case



details:   https://anonhg.NetBSD.org/src/rev/f6442e15da6e
branches:  trunk
changeset: 812635:f6442e15da6e
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Dec 24 17:35:57 2015 +0000

description:
Fix output in an error case

diffstat:

 sbin/gpt/header.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r cd61f9e26d30 -r f6442e15da6e sbin/gpt/header.c
--- a/sbin/gpt/header.c Thu Dec 24 15:53:06 2015 +0000
+++ b/sbin/gpt/header.c Thu Dec 24 17:35:57 2015 +0000
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #ifdef __RCSID
-__RCSID("$NetBSD: header.c,v 1.7 2015/12/03 02:02:43 christos Exp $");
+__RCSID("$NetBSD: header.c,v 1.8 2015/12/24 17:35:57 martin Exp $");
 #endif
 
 #include <sys/types.h>
@@ -82,7 +82,7 @@
 
        map = map_find(gpt, MAP_TYPE_PRI_GPT_HDR);
        if (map == NULL) {
-               printf("- GPT Header not found");
+               printf("- GPT Header not found\n");
                return 0;
        }
 



Home | Main Index | Thread Index | Old Index