
8 Jan
2012
8 Jan
'12
7:49 a.m.
On Thursday 05 January 2012 13:44:55 David Wagner wrote:
--- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c
datasize = strtol(optarg, NULL, 0);
break;
if (!errno)
break;
if (errno == ERANGE)
fprintf(stderr, "Bad integer format: %s\n",
optarg);
else
fprintf(stderr, "Error while parsing %s: %s\n",
optarg, strerror(errno));
return EXIT_FAILURE;
seems like this should be a local xstrol() helper -mike