Debian Codegraph @

debian/patches/005-remove-argc-output

raw
1 Author: Dan HorĂ¡k <[email protected]>
2 Description: remove the weird debugging-like info
3 The loaderinfo and tapeinfo utilities print a debugging-like
4 information about the number of arguments on command line when
5 started with wrong number of arguments.
6 .
7 This patch is taken from Fedora:
8 https://src.fedoraproject.org/rpms/mtx/tree/master
9 Date: Thu, 19 Nov 2009 15:45:54 +0100
10
11 --- a/loaderinfo.c
12 +++ b/loaderinfo.c
13 @@ -488,7 +488,6 @@
14 argv0=argv[0];
15 if (argc != 3)
16 {
17 - fprintf(stderr,"argc=%d",argc);
18 usage();
19 }
20
21 --- a/tapeinfo.c
22 +++ b/tapeinfo.c
23 @@ -933,7 +933,6 @@
24
25 if (argc != 3)
26 {
27 - fprintf(stderr,"argc=%d",argc);
28 usage();
29 }
30