Blame SOURCES/mtx-1.3.12-argc.patch

5f9aea
From f8e0af006f6a85243f0882ed08d31016032531b1 Mon Sep 17 00:00:00 2001
5f9aea
From: =?utf-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
5f9aea
Date: Thu, 19 Nov 2009 15:45:54 +0100
5f9aea
Subject: [PATCH 2/2] remove the weird debugging-like info
5f9aea
MIME-Version: 1.0
5f9aea
Content-Type: text/plain; charset=utf-8
5f9aea
Content-Transfer-Encoding: 8bit
5f9aea
5f9aea
The loaderinfo and tapeinfo utilities print a debugging-like information
5f9aea
about the number of arguments on command line when started with wrong number
5f9aea
of arguments.
5f9aea
5f9aea
Signed-off-by: Dan HorĂ¡k <dan@danny.cz>
5f9aea
---
5f9aea
 mtx/loaderinfo.c |    1 -
5f9aea
 mtx/tapeinfo.c   |    1 -
5f9aea
 2 files changed, 0 insertions(+), 2 deletions(-)
5f9aea
5f9aea
diff --git a/mtx/loaderinfo.c b/mtx/loaderinfo.c
5f9aea
index 534666f..27d22d9 100644
5f9aea
--- a/mtx/loaderinfo.c
5f9aea
+++ b/mtx/loaderinfo.c
5f9aea
@@ -488,7 +488,6 @@ int main(int argc, char **argv)
5f9aea
 	argv0=argv[0];
5f9aea
 	if (argc != 3)
5f9aea
 	{
5f9aea
-		fprintf(stderr,"argc=%d",argc);
5f9aea
 		usage();
5f9aea
 	}
5f9aea
 
5f9aea
diff --git a/mtx/tapeinfo.c b/mtx/tapeinfo.c
5f9aea
index 4d9c283..67547a6 100644
5f9aea
--- a/mtx/tapeinfo.c
5f9aea
+++ b/mtx/tapeinfo.c
5f9aea
@@ -933,7 +933,6 @@ int main(int argc, char **argv)
5f9aea
 
5f9aea
 	if (argc != 3)
5f9aea
 	{
5f9aea
-		fprintf(stderr,"argc=%d",argc);
5f9aea
 		usage();
5f9aea
 	}
5f9aea
 
5f9aea
-- 
5f9aea
1.6.3.3
5f9aea