summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan HorĂ¡k <dan@danny.cz>2009-11-19 15:45:54 +0100
committerCarsten Leonhardt <leo@debian.org>2024-01-07 12:51:00 +0100
commitee6a378d50094ceec4079bf8bf223c41647612b1 (patch)
tree13ecf0b810b0264c233e0ecb05d4a1815ad5ad06
parent4520473825c17939fbf95727046efba1fab352ec (diff)
remove the weird debugging-like info
The loaderinfo and tapeinfo utilities print a debugging-like information about the number of arguments on command line when started with wrong number of arguments. This patch is taken from Fedora: https://src.fedoraproject.org/rpms/mtx/tree/master Gbp-Pq: Name 005-remove-argc-output
-rw-r--r--loaderinfo.c1
-rw-r--r--tapeinfo.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/loaderinfo.c b/loaderinfo.c
index b23867e..11aaeac 100644
--- a/loaderinfo.c
+++ b/loaderinfo.c
@@ -488,7 +488,6 @@ int main(int argc, char **argv)
argv0=argv[0];
if (argc != 3)
{
- fprintf(stderr,"argc=%d",argc);
usage();
}
diff --git a/tapeinfo.c b/tapeinfo.c
index 1a5a0cb..276abc2 100644
--- a/tapeinfo.c
+++ b/tapeinfo.c
@@ -933,7 +933,6 @@ int main(int argc, char **argv)
if (argc != 3)
{
- fprintf(stderr,"argc=%d",argc);
usage();
}