fix SHOW to work on any platform

This commit is contained in:
matt 2000-04-29 04:36:16 +00:00
parent 0a15898a28
commit 0c28135c93
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tcp.c,v 1.4 2000/04/27 00:30:51 jdc Exp $ */
/* $NetBSD: tcp.c,v 1.5 2000/04/29 04:36:16 matt Exp $ */
/*
* Copyright (c) 1999 Andy Doran <ad@NetBSD.org>
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: tcp.c,v 1.4 2000/04/27 00:30:51 jdc Exp $");
__RCSID("$NetBSD: tcp.c,v 1.5 2000/04/29 04:36:16 matt Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -58,7 +58,7 @@ __RCSID("$NetBSD: tcp.c,v 1.4 2000/04/27 00:30:51 jdc Exp $");
#define LHD(row, str) mvwprintw(wnd, row, 10, str)
#define RHD(row, str) mvwprintw(wnd, row, 45, str)
#define SHOW(row, col, stat) mvwprintw(wnd, row, col, "%9qu", curstat.stat)
#define SHOW(row, col, stat) mvwprintw(wnd, row, col, "%9llu", (unsigned long long) curstat.stat)
static struct tcpstat curstat, oldstat;