Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/msgc msg_table_add(): fix mishap in the format safet...



details:   https://anonhg.NetBSD.org/src/rev/487396665742
branches:  trunk
changeset: 1004842:487396665742
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Nov 16 17:38:09 2019 +0000

description:
msg_table_add(): fix mishap in the format safety changes in r1.45

diffstat:

 usr.bin/msgc/msg_sys.def |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0b963493cc4f -r 487396665742 usr.bin/msgc/msg_sys.def
--- a/usr.bin/msgc/msg_sys.def  Sat Nov 16 17:33:09 2019 +0000
+++ b/usr.bin/msgc/msg_sys.def  Sat Nov 16 17:38:09 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg_sys.def,v 1.47 2019/06/25 21:09:33 joerg Exp $     */
+/*     $NetBSD: msg_sys.def,v 1.48 2019/11/16 17:38:09 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -653,7 +653,7 @@
 msg_table_add(msg msg_no)
 {
 
-       msg_printf("%s", msg_string(msg_no));
+       msg_fmt_table_add(msg_no, "");
 }
 
 void __printflike(2, 3)



Home | Main Index | Thread Index | Old Index