Module Name: src Committed By: plunky Date: Mon Mar 8 21:48:42 UTC 2010
Modified Files: src/usr.sbin/btattach: btattach.c Log Message: use %zd for ssize_t argument To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/btattach/btattach.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/btattach/btattach.c diff -u src/usr.sbin/btattach/btattach.c:1.9 src/usr.sbin/btattach/btattach.c:1.10 --- src/usr.sbin/btattach/btattach.c:1.9 Mon Mar 8 21:19:29 2010 +++ src/usr.sbin/btattach/btattach.c Mon Mar 8 21:48:42 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: btattach.c,v 1.9 2010/03/08 21:19:29 plunky Exp $ */ +/* $NetBSD: btattach.c,v 1.10 2010/03/08 21:48:42 plunky Exp $ */ /*- * Copyright (c) 2008 Iain Hibbert @@ -27,7 +27,7 @@ #include <sys/cdefs.h> __COPYRIGHT("@(#) Copyright (c) 2008 Iain Hibbert. All rights reserved."); -__RCSID("$NetBSD: btattach.c,v 1.9 2010/03/08 21:19:29 plunky Exp $"); +__RCSID("$NetBSD: btattach.c,v 1.10 2010/03/08 21:48:42 plunky Exp $"); #include <sys/ioctl.h> #include <sys/param.h> @@ -589,7 +589,7 @@ n = read(fd, buf, sizeof(buf)); if (opt_debug > 1) - printf(" %dbyte read\n", n); + printf(" %zd bytes read\n", n); if (n < 0) { if (i == 0 && errno == EAGAIN) { printf("This module is *maybe* supported by btuart(4).\n"