Re: [PATCH 2/2] nfsidmap: Added -v and -t flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux