Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fdisk Clean up printf->err conversions.
details: https://anonhg.NetBSD.org/src/rev/8c9fd3fc2a0e
branches: trunk
changeset: 535013:8c9fd3fc2a0e
user: soren <soren%NetBSD.org@localhost>
date: Thu Aug 08 13:19:18 2002 +0000
description:
Clean up printf->err conversions.
diffstat:
sbin/fdisk/fdisk.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r fa9d2cc81bb4 -r 8c9fd3fc2a0e sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c Thu Aug 08 09:57:21 2002 +0000
+++ b/sbin/fdisk/fdisk.c Thu Aug 08 13:19:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdisk.c,v 1.53 2002/06/05 12:19:23 yamt Exp $ */
+/* $NetBSD: fdisk.c,v 1.54 2002/08/08 13:19:18 soren Exp $ */
/*
* Mach Operating System
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.53 2002/06/05 12:19:23 yamt Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.54 2002/08/08 13:19:18 soren Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -363,13 +363,13 @@
s_flag = 1;
if (sscanf(optarg, "%d/%d/%d", &csysid, &cstart,
&csize) != 3)
- err(1, "Bad argument to the -s flag.\n");
+ errx(1, "Bad argument to the -s flag.");
break;
case 'b':
b_flag = 1;
if (sscanf(optarg, "%d/%d/%d", &b_cyl, &b_head,
&b_sec) != 3)
- err(1, "Bad argument to the -s flag.\n");
+ errx(1, "Bad argument to the -b flag.");
if (b_cyl > MAXCYL)
b_cyl = MAXCYL;
break;
Home |
Main Index |
Thread Index |
Old Index