From 9ca726ac69b07c7fdc8d134df303c3360f7feb02 Mon Sep 17 00:00:00 2001 From: Liang Zhen Date: Sun, 15 Aug 2010 20:46:00 +0400 Subject: [PATCH] b22078 wrong value is used by parse_net i=nathan i=robert i=qiang.wu --- lustre/obdclass/obd_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index 96c853a..9ebd6a5 100644 --- a/lustre/obdclass/obd_config.c +++ b/lustre/obdclass/obd_config.c @@ -171,7 +171,7 @@ static int parse_nid(char *buf, void *value) static int parse_net(char *buf, void *value) { - __u32 *net = (__u32 *)net; + __u32 *net = (__u32 *)value; *net = libcfs_str2net(buf); CDEBUG(D_INFO, "Net %s\n", libcfs_net2str(*net)); -- 1.8.3.1