From: Liang Zhen Date: Sun, 15 Aug 2010 16:46:00 +0000 (+0400) Subject: b22078 wrong value is used by parse_net X-Git-Tag: 2.0.50~4 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9ca726ac69b07c7fdc8d134df303c3360f7feb02;p=fs%2Flustre-release.git b22078 wrong value is used by parse_net i=nathan i=robert i=qiang.wu --- 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));