Simon Horman schrieb: > >> + char *line = malloc(sizeof_line); /* according to strdup() later */ > > Could line be char line[1024] ? Better would be a constant. However, 1024 is too less since the maximum command line size can be 2048 currently on x86 (arch/x86/include/asm/setup.h, #define COMMAND_LINE_SIZE 2048). Regards, Bernhard