libibmad/dump.c: In mad_dump_mtu, don't set buf[0] to 0
PATCH 1/1 libibmad/dump.c: In mad_dump_mtu, don't set buf[0] to 0
as this causes invalid MTUCap not to be displayed in output
---
src/dump.c +0 -1
@@ -476,7 +476,6 @@ void mad_dump_mtu(char *buf, int bufsz, void *val, int valsz)break ;default :snprintf (buf, bufsz,"?(%d)" , mtu); - buf[0 ] =0 ; } }
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Ira Weiny
AppliedQuoted 4 lines · On Wed, 05 Dec 2012 12:00:26 -0500 Hal Rosenstock…
as this causes invalid MTUCap not to be displayed in output
Thanks applied,
Ira
Quoted 17 lines
---
src/dump.c +0
-2@@ -476,7 +476,6 @@ void mad_dump_mtu(char *buf, int bufsz, void *val, int valsz)break ;default :snprintf (buf, bufsz,"?(%d)" , mtu); - buf[0 ] =0 ; } } --To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 9 lines
Ira Weiny Member of Technical Staff Lawrence Livermore National Lab 925-423-8008 [email protected] -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html