summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan HorĂ¡k <dan@danny.cz>2009-11-19 15:45:54 +0100
committerCarsten Leonhardt <leo@debian.org>2020-11-01 12:19:03 +0100
commit4abbabed5bd26e793d17709e7040a8b10f69a498 (patch)
treeaeb5165311fd247bdae57bf0bb214e94e504ac8a
parentf695107c3b551855de5104d46931e4e390b4a4ce (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();
}