Change leading spaces into a tab Signed-off-by: Hal Rosenstock <hal@xxxxxxxxxxxx> --- src/ibdiag_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ibdiag_common.c b/src/ibdiag_common.c index cbade5b..1f91269 100644 --- a/src/ibdiag_common.c +++ b/src/ibdiag_common.c @@ -850,7 +850,7 @@ int vsnprint_field(char *buf, size_t n, enum MAD_FIELDS f, int spacing, int len, i, ret; len = strlen(mad_field_name(f)); - if (len + 2 > n || spacing + 1 > n) + if (len + 2 > n || spacing + 1 > n) return 0; strncpy(buf, mad_field_name(f), n); -- 2.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html