Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fdisk Insert missing space so fdisk prints "primary par...
details: https://anonhg.NetBSD.org/src/rev/09151f366268
branches: trunk
changeset: 566738:09151f366268
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed May 19 07:36:14 2004 +0000
description:
Insert missing space so fdisk prints "primary partition table
invalid, no magic in sector 0", not "primarypartition ...".
diffstat:
sbin/fdisk/fdisk.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 2d3fb2fc39c1 -r 09151f366268 sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c Tue May 18 23:29:30 2004 +0000
+++ b/sbin/fdisk/fdisk.c Wed May 19 07:36:14 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdisk.c,v 1.79 2004/05/10 20:32:07 dsl Exp $ */
+/* $NetBSD: fdisk.c,v 1.80 2004/05/19 07:36:14 dyoung Exp $ */
/*
* Mach Operating System
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.79 2004/05/10 20:32:07 dsl Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.80 2004/05/19 07:36:14 dyoung Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -2294,8 +2294,8 @@
return -1;
}
if (le16toh(boot->mbr_magic) != MBR_MAGIC) {
- warnx("%spartition table invalid, no magic in sector %"PRIdaddr,
- tabletype, offset);
+ warnx("%s partition table invalid, "
+ "no magic in sector %"PRIdaddr, tabletype, offset);
return -1;
}
#ifdef BOOTSEL
Home |
Main Index |
Thread Index |
Old Index