diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index 9394e8f03f7a..d4ce07a88549 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.c,v 1.50 1998/03/24 23:45:31 cgd Exp $ */ +/* $NetBSD: disklabel.c,v 1.51 1998/03/24 23:47:28 cgd Exp $ */ /* * Copyright (c) 1987, 1993 @@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\n\ static char sccsid[] = "@(#)disklabel.c 8.4 (Berkeley) 5/4/95"; /* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */ #else -__RCSID("$NetBSD: disklabel.c,v 1.50 1998/03/24 23:45:31 cgd Exp $"); +__RCSID("$NetBSD: disklabel.c,v 1.51 1998/03/24 23:47:28 cgd Exp $"); #endif #endif /* not lint */ @@ -627,7 +627,7 @@ readmbr(f) /* didn't find it -- look for 386BSD partition */ for (part = 0; part < NDOSPART; part++) { if (dp[part].dp_typ == DOSPTYP_386BSD) { - fprintf(stderr, "old BSD partition ID!\n"); + warnx("old BSD partition ID!"); return (&dp[part]); } }