4
0
Эх сурвалжийг харах

(tar_set_quoting_style): Provide second argument to the format spec: program_invocation_short_name. Reported by Jim Meyering.

Sergey Poznyakoff 19 жил өмнө
parent
commit
780cf6f079
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      src/tar.c

+ 2 - 1
src/tar.c

@@ -23,6 +23,7 @@
 
 #include <fnmatch.h>
 #include <argp.h>
+#include <argp-namefrob.h>
 
 #include <signal.h>
 #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));
 }