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-08 10:40:21 +0100
commit0289a55fc6c0a8c1eb4a5f2c9d4c5c7423474e5d (patch)
tree6cd536aaa3272e628e1f1995207332526fd3c4ed
parentf2bb4871e3769af44f2f904a0a8a0ec4579a3c00 (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();
}