Remove extra args from a printf.

This commit is contained in:
thorpej 2002-12-06 03:13:14 +00:00
parent f393397bd6
commit 9f3eaa5002
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: iostat.c,v 1.23 2002/11/01 12:47:57 mrg Exp $ */ /* $NetBSD: iostat.c,v 1.24 2002/12/06 03:13:14 thorpej Exp $ */
/* /*
* Copyright (c) 1980, 1992, 1993 * Copyright (c) 1980, 1992, 1993
@ -38,7 +38,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93"; static char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93";
#endif #endif
__RCSID("$NetBSD: iostat.c,v 1.23 2002/11/01 12:47:57 mrg Exp $"); __RCSID("$NetBSD: iostat.c,v 1.24 2002/12/06 03:13:14 thorpej Exp $");
#endif /* not lint */ #endif /* not lint */
#include <sys/param.h> #include <sys/param.h>
@ -179,8 +179,8 @@ barlabels(int row)
if (cur.dk_select[i]) { if (cur.dk_select[i]) {
if (row > getmaxy(wnd) - linesperregion) if (row > getmaxy(wnd) - linesperregion)
break; break;
mvwprintw(wnd, row++, 0, "%7.7s kBps|", cur.dk_name[i], mvwprintw(wnd, row++, 0, "%7.7s kBps|",
read_write ? ' ' : 'r'); cur.dk_name[i]);
mvwaddstr(wnd, row++, 0, " tps|"); mvwaddstr(wnd, row++, 0, " tps|");
if (read_write) { if (read_write) {
mvwprintw(wnd, row++, 0, " (write) kBps|"); mvwprintw(wnd, row++, 0, " (write) kBps|");