rem: ret = malloc(1024);
add: ret = malloc(PROCFILE_BUFSIZ);
context: static char *get_modprobe(void){	int procfile;	char *ret;	procfile = open(PROC_SYS_MODPROBE, O_RDONLY);	if (procfile < 0)		return NULL;	ret = malloc(1024);	if (ret) {		switch (read(procfile, ret, 1024)) {		case -1: goto fail;		case 1024: goto fail; /* Partial read.  Wierd */		}		if (ret[strlen(ret)-1]=='\n') 			ret[strlen(ret)-1]=0;		close(procfile);		return ret;	} fail:	free(ret);	close(procfile);	return NULL;}