lkml.org 
[lkml]   [2011]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 2/6] x86, nmi: create new NMI handler routines
From
Date
On Mon, 2011-08-22 at 11:21 -0400, Don Zickus wrote:
> It does seem odd, but I can change that to strncpy to
> be safer.

I think kstrdup() exists for this purpose, don't forget to free it when
you're done with it though ;-)


\
 
 \ /
  Last update: 2011-08-22 17:35    [from the cache]
©2003-2011 Jasper Spaans