Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/what what: fix typo in warning



details:   https://anonhg.NetBSD.org/src/rev/5a2c5a4d69d1
branches:  trunk
changeset: 1026784:5a2c5a4d69d1
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Dec 07 06:53:56 2021 +0000

description:
what: fix typo in warning

diffstat:

 usr.bin/what/what.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2cae267f8c76 -r 5a2c5a4d69d1 usr.bin/what/what.c
--- a/usr.bin/what/what.c       Tue Dec 07 06:49:15 2021 +0000
+++ b/usr.bin/what/what.c       Tue Dec 07 06:53:56 2021 +0000
@@ -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 @@
 #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 @@
                usage();
        } else do {
                if (freopen(*argv, "r", stdin) == NULL) {
-                       warn("Cannot open `%s", *argv);
+                       warn("Cannot open `%s'", *argv);
                        break;
                }
                printf("%s:\n", *argv);



Home | Main Index | Thread Index | Old Index