Hi Mike,

the debug option for iscsiadm is '-d', not '-g'.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                   zSeries & Storage
[EMAIL PROTECTED]                             +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

>From c41c5045e6d91e76895d4221d03e4f8ce438032f Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <[EMAIL PROTECTED]>
Date: Fri, 7 Mar 2008 15:58:10 +0100
Subject: [PATCH] Correct debug option for iscsiadm

The debug option is '-d', not '-g'.

Signed-off-by: Hannes Reinecke <[EMAIL PROTECTED]>
---
 usr/iscsiadm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
index 9e3d47c..1a5127a 100644
--- a/usr/iscsiadm.c
+++ b/usr/iscsiadm.c
@@ -81,7 +81,7 @@ static struct option const long_options[] =
 	{"logoutall", required_argument, NULL, 'U'},
 	{"stats", no_argument, NULL, 's'},
 	{"killiscsid", required_argument, NULL, 'k'},
-	{"debug", required_argument, NULL, 'g'},
+	{"debug", required_argument, NULL, 'd'},
 	{"show", no_argument, NULL, 'S'},
 	{"version", no_argument, NULL, 'V'},
 	{"help", no_argument, NULL, 'h'},
-- 
1.5.3.4

Reply via email to