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