Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst/arch eliminate logging variable from m...
details: https://anonhg.NetBSD.org/src/rev/77e0b403b9cf
branches: trunk
changeset: 772489:77e0b403b9cf
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 05 21:32:35 2012 +0000
description:
eliminate logging variable from md code.
diffstat:
distrib/utils/sysinst/arch/emips/md.c | 6 +++---
distrib/utils/sysinst/arch/hp300/md.c | 6 +++---
distrib/utils/sysinst/arch/hp700/md.c | 6 +++---
distrib/utils/sysinst/arch/mipsco/md.c | 6 +++---
distrib/utils/sysinst/arch/mvme68k/md.c | 6 +++---
distrib/utils/sysinst/arch/pmax/md.c | 6 +++---
distrib/utils/sysinst/arch/sgimips/md.c | 6 +++---
distrib/utils/sysinst/arch/sparc/md.c | 6 +++---
distrib/utils/sysinst/arch/sparc64/md.c | 6 +++---
distrib/utils/sysinst/arch/vax/md.c | 6 +++---
distrib/utils/sysinst/arch/x68k/md.c | 6 +++---
11 files changed, 33 insertions(+), 33 deletions(-)
diffs (286 lines):
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/emips/md.c
--- a/distrib/utils/sysinst/arch/emips/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/emips/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.4 2011/11/04 11:27:02 martin Exp $ */
+/* $NetBSD: md.c,v 1.5 2012/01/05 21:32:35 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -70,14 +70,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/hp300/md.c
--- a/distrib/utils/sysinst/arch/hp300/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/hp300/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.31 2011/11/04 11:27:02 martin Exp $ */
+/* $NetBSD: md.c,v 1.32 2012/01/05 21:32:35 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -70,14 +70,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/hp700/md.c
--- a/distrib/utils/sysinst/arch/hp700/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/hp700/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.12 2011/11/04 11:27:02 martin Exp $ */
+/* $NetBSD: md.c,v 1.13 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -72,14 +72,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/mipsco/md.c
--- a/distrib/utils/sysinst/arch/mipsco/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/mipsco/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.19 2011/11/04 11:27:03 martin Exp $ */
+/* $NetBSD: md.c,v 1.20 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -71,14 +71,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/mvme68k/md.c
--- a/distrib/utils/sysinst/arch/mvme68k/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/mvme68k/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.26 2011/11/04 11:27:04 martin Exp $ */
+/* $NetBSD: md.c,v 1.27 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -70,14 +70,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/pmax/md.c
--- a/distrib/utils/sysinst/arch/pmax/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/pmax/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.66 2011/11/04 11:27:04 martin Exp $ */
+/* $NetBSD: md.c,v 1.67 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -70,14 +70,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/sgimips/md.c
--- a/distrib/utils/sysinst/arch/sgimips/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/sgimips/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.28 2011/11/04 11:27:04 martin Exp $ */
+/* $NetBSD: md.c,v 1.29 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -87,14 +87,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/sparc/md.c
--- a/distrib/utils/sysinst/arch/sparc/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/sparc/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.51 2011/11/04 11:27:05 martin Exp $ */
+/* $NetBSD: md.c,v 1.52 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -76,14 +76,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/sparc64/md.c
--- a/distrib/utils/sysinst/arch/sparc64/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/sparc64/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.28 2011/11/04 11:27:05 martin Exp $ */
+/* $NetBSD: md.c,v 1.29 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -77,14 +77,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/vax/md.c
--- a/distrib/utils/sysinst/arch/vax/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/vax/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.38 2011/11/07 12:40:26 he Exp $ */
+/* $NetBSD: md.c,v 1.39 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -74,14 +74,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
diff -r 55cd74465db4 -r 77e0b403b9cf distrib/utils/sysinst/arch/x68k/md.c
--- a/distrib/utils/sysinst/arch/x68k/md.c Thu Jan 05 21:29:24 2012 +0000
+++ b/distrib/utils/sysinst/arch/x68k/md.c Thu Jan 05 21:32:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.42 2011/11/07 14:18:51 he Exp $ */
+/* $NetBSD: md.c,v 1.43 2012/01/05 21:32:36 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -87,14 +87,14 @@
fd = open(dev_name, O_RDONLY, 0);
if (fd < 0) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't open %s\n", dev_name);
endwin();
fprintf(stderr, "Can't open %s\n", dev_name);
exit(1);
}
if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) {
- if (logging)
+ if (logfp)
(void)fprintf(logfp, "Can't read disklabel on %s.\n",
dev_name);
endwin();
Home |
Main Index |
Thread Index |
Old Index