Module Name:    src
Committed By:   christos
Date:           Thu Sep 15 16:25:17 UTC 2011

Modified Files:
        src/tests/lib/libcurses/director: testlang_parse.y

Log Message:
fix printf format strings


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libcurses/director/testlang_parse.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libcurses/director/testlang_parse.y
diff -u src/tests/lib/libcurses/director/testlang_parse.y:1.11 src/tests/lib/libcurses/director/testlang_parse.y:1.12
--- src/tests/lib/libcurses/director/testlang_parse.y:1.11	Thu Sep 15 07:53:12 2011
+++ src/tests/lib/libcurses/director/testlang_parse.y	Thu Sep 15 12:25:17 2011
@@ -1,5 +1,5 @@
 %{
-/*	$NetBSD: testlang_parse.y,v 1.11 2011/09/15 11:53:12 blymn Exp $	*/
+/*	$NetBSD: testlang_parse.y,v 1.12 2011/09/15 16:25:17 christos Exp $	*/
 
 /*-
  * Copyright 2009 Brett Lymn <[email protected]>
@@ -1117,8 +1117,8 @@
 		if ((byte_response->return_type == ret_byte) ||
 		    (byte_response->return_type == ret_err) ||
 		    (byte_response->return_type == ret_ok))
-			err(1, "validate: expecting type %s, received type %s"
-			    " at line %d of file %s",
+			err(1, "%s: expecting type %s, received type %s"
+			    " at line %zu of file %s", __func__,
 			    returns_enum_names[command.returns[i].return_type],
 			    returns_enum_names[byte_response->return_type],
 			    line, cur_file);
@@ -1182,7 +1182,7 @@
 
 	if (verbose) {
 		fprintf(stderr,
-		    "validate_reference: return type of %s, value %s \n",
+		    "%s: return type of %s, value %s \n", __func__,
 		    returns_enum_names[varp->type],
 		    (const char *)varp->value);
 	}

Reply via email to