Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sbin/ccdconfig Pull up revision 1.32 (requested by is):
details: https://anonhg.NetBSD.org/src/rev/301d152b8619
branches: netbsd-1-4
changeset: 470984:301d152b8619
user: he <he%NetBSD.org@localhost>
date: Tue Oct 10 22:24:37 2000 +0000
description:
Pull up revision 1.32 (requested by is):
Format string cleanup.
diffstat:
sbin/ccdconfig/ccdconfig.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 3885c5525228 -r 301d152b8619 sbin/ccdconfig/ccdconfig.c
--- a/sbin/ccdconfig/ccdconfig.c Tue Oct 10 22:24:34 2000 +0000
+++ b/sbin/ccdconfig/ccdconfig.c Tue Oct 10 22:24:37 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ccdconfig.c,v 1.27 1999/04/01 09:12:21 ross Exp $ */
+/* $NetBSD: ccdconfig.c,v 1.27.2.1 2000/10/10 22:24:37 he Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
__COPYRIGHT(
"@(#) Copyright (c) 1996, 1997\
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: ccdconfig.c,v 1.27 1999/04/01 09:12:21 ross Exp $");
+__RCSID("$NetBSD: ccdconfig.c,v 1.27.2.1 2000/10/10 22:24:37 he Exp $");
#endif
#include <sys/param.h>
@@ -652,7 +652,8 @@
warnx(kvm_geterr(kd));
goto done;
}
- printf((i + 1 < cs->sc_nccdisks) ? "%s " : "%s\n", path);
+ fputs(path, stdout);
+ fputc((i + 1 < cs->sc_nccdisks) ? ' ' : '\n', stdout);
fflush(stdout);
}
Home |
Main Index |
Thread Index |
Old Index