Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/menuc Add format string to fprintf().
details: https://anonhg.NetBSD.org/src/rev/cb2f6f36d899
branches: trunk
changeset: 495173:cb2f6f36d899
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Jul 23 22:18:44 2000 +0000
description:
Add format string to fprintf().
diffstat:
usr.bin/menuc/mdb.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 034d88f94d8e -r cb2f6f36d899 usr.bin/menuc/mdb.c
--- a/usr.bin/menuc/mdb.c Sun Jul 23 22:17:14 2000 +0000
+++ b/usr.bin/menuc/mdb.c Sun Jul 23 22:18:44 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdb.c,v 1.14 1999/06/20 02:07:18 cgd Exp $ */
+/* $NetBSD: mdb.c,v 1.15 2000/07/23 22:18:44 wiz Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -352,7 +352,8 @@
if (menus[i]->info->mopt & NOEXITOPT)
(void) fprintf (out_file, "NULL");
else if (menus[i]->info->exitstr != NULL)
- (void) fprintf (out_file, menus[i]->info->exitstr);
+ (void) fprintf (out_file, "%s",
+ menus[i]->info->exitstr);
else
(void) fprintf (out_file, "\"Exit\"");
if (strlen(menus[i]->info->postact.code))
Home |
Main Index |
Thread Index |
Old Index