artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782f705
)
deleted warnx() about "no drives attached" since dkinit() is used in curses apps...
author
kstailey
<kstailey@openbsd.org>
Tue, 4 Feb 1997 04:51:20 +0000
(
04:51
+0000)
committer
kstailey
<kstailey@openbsd.org>
Tue, 4 Feb 1997 04:51:20 +0000
(
04:51
+0000)
usr.bin/vmstat/dkstats.c
patch
|
blob
|
history
diff --git
a/usr.bin/vmstat/dkstats.c
b/usr.bin/vmstat/dkstats.c
index
d8a84f4
..
d1329dc
100644
(file)
--- a/
usr.bin/vmstat/dkstats.c
+++ b/
usr.bin/vmstat/dkstats.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dkstats.c,v 1.
3 1996/06/26 05:42:40 deraadt Exp $
*/
+/* $OpenBSD: dkstats.c,v 1.
4 1997/02/04 04:51:20 kstailey Exp $
*/
/* $NetBSD: dkstats.c,v 1.1 1996/05/10 23:19:27 thorpej Exp $ */
/*
@@
-199,9
+199,6
@@
int select;
if (dk_ndrive < 0)
errx(1, "invalid _disk_count %d.", dk_ndrive);
- else if (dk_ndrive == 0) {
- warnx("No drives attached.");
- }
else {
/* Get a pointer to the first disk. */
deref_nl(X_DISKLIST, &disk_head, sizeof(disk_head));