Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/top Fix segv when running show_help.



details:   https://anonhg.NetBSD.org/src/rev/252745e9d96d
branches:  trunk
changeset: 534769:252745e9d96d
user:      chris <chris%NetBSD.org@localhost>
date:      Fri Aug 02 20:03:36 2002 +0000

description:
Fix segv when running show_help.
Seems that copyright had it's type changed, but not the extern.

diffstat:

 usr.bin/top/commands.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 38143ca7c4ee -r 252745e9d96d usr.bin/top/commands.c
--- a/usr.bin/top/commands.c    Fri Aug 02 19:55:32 2002 +0000
+++ b/usr.bin/top/commands.c    Fri Aug 02 20:03:36 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: commands.c,v 1.7 2002/07/16 00:40:51 itojun Exp $      */
+/*     $NetBSD: commands.c,v 1.8 2002/08/02 20:03:36 chris Exp $       */
 
 /*
  *  Top users/processes display for Unix
@@ -50,7 +50,7 @@
 #include "utils.h"
 #include "commands.h"
 
-extern char *copyright;
+extern const char copyright[];
 
 /* imported from screen.c */
 extern int overstrike;



Home | Main Index | Thread Index | Old Index