Patrick Georgi 667c7a3b23 util/fletcher: fix debug option parsing
sizeof(char[]-type+1) isn't very useful. Since one of
the strings is constant, we also don't need to use
strncmp that string's length. While at it, str*cmp don't
return booleans, so check for value instead of faux bools.

Change-Id: Iebb194a60eac454dafeade75f135df92068cf4ab
Found-by: Coverity Scan
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6988
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
2014-10-18 14:45:42 +02:00
..
2014-10-18 14:45:15 +02:00
2014-10-18 14:29:29 +02:00
2014-08-26 10:08:30 +02:00
2014-03-09 21:19:29 +01:00
2014-09-03 00:23:26 +02:00
2014-09-06 09:21:07 +02:00
2014-09-08 18:59:23 +02:00
2014-10-07 21:03:25 +02:00
2013-06-12 05:18:24 +02:00
2012-11-30 23:59:58 +01:00