Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/systat Refresh labels and display after changing dis...



details:   https://anonhg.NetBSD.org/src/rev/b749a22518b2
branches:  trunk
changeset: 574321:b749a22518b2
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sat Feb 26 18:58:45 2005 +0000

description:
Refresh labels and display after changing displayed disks

diffstat:

 usr.bin/systat/disks.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 2a57d1a8b8cf -r b749a22518b2 usr.bin/systat/disks.c
--- a/usr.bin/systat/disks.c    Sat Feb 26 18:25:28 2005 +0000
+++ b/usr.bin/systat/disks.c    Sat Feb 26 18:58:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.14 2003/09/12 17:32:31 mycroft Exp $       */
+/*     $NetBSD: disks.c,v 1.15 2005/02/26 18:58:45 dsl Exp $   */
 
 /*-
  * Copyright (c) 1980, 1992, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)disks.c    8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: disks.c,v 1.14 2003/09/12 17:32:31 mycroft Exp $");
+__RCSID("$NetBSD: disks.c,v 1.15 2005/02/26 18:58:45 dsl Exp $");
 #endif /* not lint */
 
 #include <ctype.h>
@@ -107,4 +107,6 @@
                        error("%s: unknown drive", args);
                args = cp;
        }
+       labels();
+       display(0);
 }



Home | Main Index | Thread Index | Old Index