Module Name: src
Committed By: haad
Date: Sun Jun 14 21:06:19 UTC 2009
Modified Files:
src/sbin/fsck: partutil.c
Log Message:
Remove bogus warn, which was printed when DIOCGDISKINFO failed.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sbin/fsck/partutil.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/fsck/partutil.c
diff -u src/sbin/fsck/partutil.c:1.7 src/sbin/fsck/partutil.c:1.8
--- src/sbin/fsck/partutil.c:1.7 Sat Jun 6 18:31:29 2009
+++ src/sbin/fsck/partutil.c Sun Jun 14 21:06:18 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: partutil.c,v 1.7 2009/06/06 18:31:29 haad Exp $ */
+/* $NetBSD: partutil.c,v 1.8 2009/06/14 21:06:18 haad Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: partutil.c,v 1.7 2009/06/06 18:31:29 haad Exp $");
+__RCSID("$NetBSD: partutil.c,v 1.8 2009/06/14 21:06:18 haad Exp $");
#include <sys/types.h>
#include <sys/disklabel.h>
@@ -168,12 +168,11 @@
/* Get disk description dictionary */
if ((error = prop_dictionary_recv_ioctl(fd, DIOCGDISKINFO,
&disk_dict)) != 0) {
- warn("Please implement DIOCGDISKINFO for %s disk driver\n", s);
-
/*
* Ask for disklabel if DIOCGDISKINFO failed. This is
* compatibility call and can be removed when all devices
* will support DIOCGDISKINFO.
+ * cgd, ccd pseudo disk drives doesn't support DIOCGDDISKINFO
*/
if ((error = ioctl(fd, DIOCGDINFO, lp)) == -1) {
printf("DIOCGDINFO on %s failed\n", s);