This is a simple fix for uninitialized variable in fcnsq.c which generated a warning message in compilation.
Signed-off-by: Lucy Liu <[email protected]> --- fcnsq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fcnsq.c b/fcnsq.c index 1c78901..6f3ac0e 100644 --- a/fcnsq.c +++ b/fcnsq.c @@ -373,7 +373,7 @@ int main(int argc, char *argv[]) int bsg_dev; u32 port_id; u64 wwnn; - int rc; + int rc = 0; enum commands cmd = 0; char c; -- Signature: Lucy Liu <[email protected]> _______________________________________________ devel mailing list [email protected] http://www.open-fcoe.org/mailman/listinfo/devel
