summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan HorĂ¡k <dan@danny.cz>2009-11-19 15:45:54 +0100
committerCarsten Leonhardt <leo@debian.org>2021-01-10 17:16:14 +0100
commit68222692a95f6624d1bf3dd68462a751679a8355 (patch)
tree0f8480dc2e06e995364e620d657b7b8733656ed5
parent8140923911f09259c8c5bcd6f5988d9f8a2b78f0 (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();
}