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/e9b169bc5f9f
branches:  trunk
changeset: 342493:e9b169bc5f9f
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 1cc733855657 -r e9b169bc5f9f 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