From: Pavel Charvat Date: Thu, 10 Aug 2006 07:54:47 +0000 (+0200) Subject: typo X-Git-Tag: holmes-import~599 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=aead0f5b430c5589abdc6d2170a9bc827e008915;p=libucw.git typo --- diff --git a/images/image-tool.c b/images/image-tool.c index 831c6577..eb2a3ec2 100644 --- a/images/image-tool.c +++ b/images/image-tool.c @@ -73,7 +73,7 @@ parse_color(struct color *color, byte *s) { if (strlen(s) != 6) usage(); - s = 0; + errno = 0; char *end; long int v = strtol(s, &end, 16); if (errno || *end || v < 0)