Messages in this thread | | | Date | Thu, 11 May 2006 01:32:01 +0200 | From | Johannes Stezenbach <> | Subject | Re: [v4l-dvb-maintainer] Re: [PATCH] new driver for TLV320AIC23B |
| |
On Thu, May 11, 2006 at 02:32:12AM +0400, Alexey Dobriyan wrote: > On Wed, May 10, 2006 at 02:55:28PM -0700, Scott Alfter wrote: > > > + snprintf(client->name, sizeof(client->name) - 1, "tlv320aic23b"); > > snprintf(buf, sizeof(buf), ...) > > is idiomatic.
better use strlcpy()
Johannes - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |