From 42c8b251b81db7d44c84d026de52e99e82e9208a Mon Sep 17 00:00:00 2001 From: haad Date: Sat, 6 Jun 2009 17:47:50 +0000 Subject: [PATCH] Remove debug printfs. --- sbin/fsck/partutil.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sbin/fsck/partutil.c b/sbin/fsck/partutil.c index 743e5e2b50ea..e26d85c91489 100644 --- a/sbin/fsck/partutil.c +++ b/sbin/fsck/partutil.c @@ -1,4 +1,4 @@ -/* $NetBSD: partutil.c,v 1.5 2009/06/05 21:52:31 haad Exp $ */ +/* $NetBSD: partutil.c,v 1.6 2009/06/06 17:47:50 haad Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__RCSID("$NetBSD: partutil.c,v 1.5 2009/06/05 21:52:31 haad Exp $"); +__RCSID("$NetBSD: partutil.c,v 1.6 2009/06/06 17:47:50 haad Exp $"); #include #include @@ -156,8 +156,6 @@ getdiskinfo(const char *s, int fd, const char *dt, struct disk_geom *geo, /* Get info about partition/wedge */ if (ioctl(fd, DIOCGWEDGEINFO, dkw) == -1) { - warn("ioctl (DIOCGWEDGEINFO)"); - printf("Using old disklabel method\n"); if (ioctl(fd, DIOCGDINFO, lp) == -1) errx(errno, "Please implement DIOCGWEDGEINFO or DIOCGDINFO for disk device %s\n", s);