On Sat, May 15, 2010 at 03:34:41PM +0200, Dan Carpenter wrote: > The snprintf() function returns the number of bytes that *would* have > been written (not counting the NULL terminator). We want to pass NULL > terminated strings to the user so we need to add one to the snprintf > return value. Actually this is a filesystem so we don't want to pass null terminated strings do we? Probably the first version of this patch was the better one. (What I love about open source is the discussions. But normally it's not just one discussing and sending out patches to his ownself. :P). regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html