于 2013年01月21日 21:56, Ben Dooks 写道: > How about: vsnprintf(buff, sizeof(buff), fmt, va); > > It means we do not end up assuming the size of 'buff' and will be correct > if the code is changed to declare 'buff' to be a different size. thank you, I will send patch v2. :-) -- Chen Gang Asianux Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html