Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/atf/dist/atf-c/detail Properly use a format str...



details:   https://anonhg.NetBSD.org/src/rev/773da61184cb
branches:  trunk
changeset: 766131:773da61184cb
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jun 16 14:57:22 2011 +0000

description:
Properly use a format string.

diffstat:

 external/bsd/atf/dist/atf-c/detail/test_helpers.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3cc80af1329f -r 773da61184cb external/bsd/atf/dist/atf-c/detail/test_helpers.c
--- a/external/bsd/atf/dist/atf-c/detail/test_helpers.c Thu Jun 16 14:48:30 2011 +0000
+++ b/external/bsd/atf/dist/atf-c/detail/test_helpers.c Thu Jun 16 14:57:22 2011 +0000
@@ -62,7 +62,7 @@
     atf_dynstr_fini(&iflag);
 
     if (!success)
-        atf_tc_fail(failmsg);
+        atf_tc_fail("%s", failmsg);
 }
 
 void



Home | Main Index | Thread Index | Old Index