From c8e2201fa209d6433af3309e64b36cc61c64f198 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 30 Mar 1998 10:09:05 +0000 Subject: [PATCH] Chnage the profiling printout to reflect that they are not struct timeval anymore. --- usr.sbin/ncrcontrol/ncrcontrol.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/usr.sbin/ncrcontrol/ncrcontrol.c b/usr.sbin/ncrcontrol/ncrcontrol.c index e2ee461e1308..60a8ba76825b 100644 --- a/usr.sbin/ncrcontrol/ncrcontrol.c +++ b/usr.sbin/ncrcontrol/ncrcontrol.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: ncrcontrol.c,v 1.18 1997/07/28 21:33:45 se Exp $ +** $Id: ncrcontrol.c,v 1.19 1997/10/02 11:46:53 charnier Exp $ ** ** Utility for NCR 53C810 device driver. ** @@ -963,9 +963,8 @@ void dump_link (const char* name, struct link * link) void dump_tstamp (const char* name, struct tstamp * p) #define P(id,fld)\ - if (p->fld.tv_sec) \ - printf ("%s: "id" at %s.%06d",\ - name,ctime(&p->fld.tv_sec),p->fld.tv_usec); + if (p->fld) \ + printf ("%s: "id" at %d hz", name,&p->fld); { P ("started ", start); P ("ended ", end );