From: Sergey Poznyakoff Date: Wed, 8 Feb 2006 21:34:15 +0000 (+0000) Subject: (tar_set_quoting_style): Provide second argument to the format spec: program_invocati... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=780cf6f079b92b8dddf09d9e5e8a9400279a96cb;p=chaz%2Ftar (tar_set_quoting_style): Provide second argument to the format spec: program_invocation_short_name. Reported by Jim Meyering. --- diff --git a/src/tar.c b/src/tar.c index 7159e24..279e1f8 100644 --- a/src/tar.c +++ b/src/tar.c @@ -23,6 +23,7 @@ #include #include +#include #include #if ! defined SIGCHLD && defined SIGCLD @@ -235,7 +236,7 @@ tar_set_quoting_style (char *arg) return; } FATAL_ERROR ((0, 0, - _("Unknown quoting style `%s'. Try `%s --quoting-style=help' to get a list."), arg)); + _("Unknown quoting style `%s'. Try `%s --quoting-style=help' to get a list."), arg, program_invocation_short_name)); }