From 68222692a95f6624d1bf3dd68462a751679a8355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Thu, 19 Nov 2009 15:45:54 +0100 Subject: 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 --- loaderinfo.c | 1 - tapeinfo.c | 1 - 2 files changed, 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(); } -- cgit v1.2.3