From a91470cccd054c61a2fe0e95e5ba181d64369ca9 Mon Sep 17 00:00:00 2001 From: cbiere Date: Tue, 6 Feb 2007 14:04:01 +0000 Subject: [PATCH] Fixed format string in opendisk_werror() which was wrong since my previous commit. --- sbin/cgdconfig/cgdconfig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/cgdconfig/cgdconfig.c b/sbin/cgdconfig/cgdconfig.c index 71379c82a32d..a5ac6255b51c 100644 --- a/sbin/cgdconfig/cgdconfig.c +++ b/sbin/cgdconfig/cgdconfig.c @@ -1,4 +1,4 @@ -/* $NetBSD: cgdconfig.c,v 1.17 2007/02/06 02:09:19 cbiere Exp $ */ +/* $NetBSD: cgdconfig.c,v 1.18 2007/02/06 14:04:01 cbiere Exp $ */ /*- * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ __COPYRIGHT( "@(#) Copyright (c) 2002, 2003\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: cgdconfig.c,v 1.17 2007/02/06 02:09:19 cbiere Exp $"); +__RCSID("$NetBSD: cgdconfig.c,v 1.18 2007/02/06 14:04:01 cbiere Exp $"); #endif #include @@ -569,7 +569,7 @@ opendisk_werror(const char *cgd, char *buf, size_t buflen) { int fd; - VPRINTF(3, ("opendisk_werror(%s, %s, %d) called.\n", cgd, buf, buflen)); + VPRINTF(3, ("opendisk_werror(%s, %s, %zu) called.\n", cgd, buf, buflen)); /* sanity */ if (!cgd || !buf)