diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 11:38:33 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 11:38:33 +0200 |
commit | 87a5c73d66beee8cc4d3b179114da89bf8e09791 (patch) | |
tree | 04d567437f651eff45323e27d5b4ee8702222c00 /board/netstar/crcit.c | |
parent | 029b6dc77c8533fe46d9402463487512831c0b29 (diff) | |
download | u-boot-imx-87a5c73d66beee8cc4d3b179114da89bf8e09791.zip u-boot-imx-87a5c73d66beee8cc4d3b179114da89bf8e09791.tar.gz u-boot-imx-87a5c73d66beee8cc4d3b179114da89bf8e09791.tar.bz2 |
Update NetStar board
Patch by Ladislav Michl, 03 Nov 2005
Diffstat (limited to 'board/netstar/crcit.c')
-rw-r--r-- | board/netstar/crcit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/netstar/crcit.c b/board/netstar/crcit.c index f6d3066..ce98e20 100644 --- a/board/netstar/crcit.c +++ b/board/netstar/crcit.c @@ -77,7 +77,7 @@ int main(int argc, char **argv) } else if ((argc == 4) && (strcmp(argv[1], "-v") == 0)) { char *endptr, *nptr = argv[2]; unsigned ver = strtoul(nptr, &endptr, 0); - if (nptr != '\0' && endptr == '\0') + if (*nptr != '\0' && *endptr == '\0') return doit(argv[3], ver); } fprintf(stderr, "Usage: crcit [-v version] <image>\n"); |