Steve Dickson wrote: + arg = malloc(sizeof(char) * strlen(argv[optind]) + 1); + strcpy(arg, argv[optind]); strdup() would have been simpler. But don't re-do it just for this. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html