seperator error in __mask_snprintf_len

From: Joe Korty
Date: Wed Jan 07 2004 - 11:57:44 EST


Against 2.6.1-rc1.

--- base/lib/mask.c 2004-01-07 11:40:07.000000000 -0500
+++ new/lib/mask.c 2004-01-07 11:51:26.000000000 -0500
@@ -96,7 +96,7 @@
while (i >= 1 && wordp[i] == 0)
i--;
while (i >= 0) {
- len += snprintf(buf+len, buflen-len, "%s%x", sep, wordp[i]);
+ len += snprintf(buf+len, buflen-len, "%x%s", wordp[i], sep);
sep = ",";
i--;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/