changeset 494:d10aad19eba3

FIX: Use correct printf formatting character
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 30 Aug 2024 15:51:26 +0200
parents fb2c018ef494
children fb362bcab722
files share/local-bsdtools/common.subr
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/share/local-bsdtools/common.subr	Fri Aug 30 15:36:41 2024 +0200
+++ b/share/local-bsdtools/common.subr	Fri Aug 30 15:51:26 2024 +0200
@@ -49,7 +49,7 @@
 #: The name of the script is prepended to the warning message always.
 #:
 warn() {
-    printf "$0: WARNING: %s\\n" "$0" "$*" 1>&2
+    printf "%s: WARNING: %s\\n" "$0" "$*" 1>&2
     return 0
 }