Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/tput Pull up revision 1.14 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/0933f6388904
branches: netbsd-1-4
changeset: 471098:0933f6388904
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 16:32:58 2000 +0000
description:
Pull up revision 1.14 (requested by he):
Format string cleanup.
diffstat:
usr.bin/tput/tput.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 7725dec4134a -r 0933f6388904 usr.bin/tput/tput.c
--- a/usr.bin/tput/tput.c Thu Oct 19 16:32:56 2000 +0000
+++ b/usr.bin/tput/tput.c Thu Oct 19 16:32:58 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tput.c,v 1.10 1997/10/20 00:50:53 lukem Exp $ */
+/* $NetBSD: tput.c,v 1.10.4.1 2000/10/19 16:32:58 he Exp $ */
/*-
* Copyright (c) 1980, 1988, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)tput.c 8.3 (Berkeley) 4/28/95";
#endif
-__RCSID("$NetBSD: tput.c,v 1.10 1997/10/20 00:50:53 lukem Exp $");
+__RCSID("$NetBSD: tput.c,v 1.10.4.1 2000/10/19 16:32:58 he Exp $");
#endif /* not lint */
#include <termios.h>
@@ -144,11 +144,11 @@
process(cap, str, argv)
char *cap, *str, **argv;
{
- static char errfew[] =
+ static const char errfew[] =
"not enough arguments (%d) for capability `%s'";
- static char errmany[] =
+ static const char errmany[] =
"too many arguments (%d) for capability `%s'";
- static char erresc[] =
+ static const char erresc[] =
"unknown %% escape `%c' for capability `%s'";
char *cp;
int arg_need, arg_rows, arg_cols;
Home |
Main Index |
Thread Index |
Old Index