Module Name:    src
Committed By:   rillig
Date:           Tue Dec  7 06:53:57 UTC 2021

Modified Files:
        src/usr.bin/what: what.c

Log Message:
what: fix typo in warning


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/what/what.c

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

Modified files:

Index: src/usr.bin/what/what.c
diff -u src/usr.bin/what/what.c:1.13 src/usr.bin/what/what.c:1.14
--- src/usr.bin/what/what.c:1.13	Mon Dec  6 22:13:56 2021
+++ src/usr.bin/what/what.c	Tue Dec  7 06:53:56 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: what.c,v 1.13 2021/12/06 22:13:56 christos Exp $	*/
+/*	$NetBSD: what.c,v 1.14 2021/12/07 06:53:56 rillig Exp $	*/
 
 /*
  * Copyright (c) 1980, 1988, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
 #if 0
 static char sccsid[] = "@(#)what.c	8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: what.c,v 1.13 2021/12/06 22:13:56 christos Exp $");
+__RCSID("$NetBSD: what.c,v 1.14 2021/12/07 06:53:56 rillig Exp $");
 #endif /* not lint */
 
 #include <locale.h>
@@ -82,7 +82,7 @@ main(int argc, char **argv)
 		usage();
 	} else do {
 		if (freopen(*argv, "r", stdin) == NULL) {
-			warn("Cannot open `%s", *argv);
+			warn("Cannot open `%s'", *argv);
 			break;
 		}
 		printf("%s:\n", *argv);

Reply via email to