On Tue, Oct 21, 2008 at 12:10, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote: > Use calloc to request cleared memory instead. > Kernel and libc conspire to make this more efficient. > > Also, replace one malloc() + strcpy() with strdup(). Applied. Thanks, Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html