From aead0f5b430c5589abdc6d2170a9bc827e008915 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Thu, 10 Aug 2006 09:54:47 +0200 Subject: [PATCH] typo --- images/image-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2