diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-05-17 17:40:09 +0200 |
---|---|---|
committer | Duncan Laurie <dlaurie@google.com> | 2016-05-17 23:27:02 +0200 |
commit | 0ba307f0fe94550d84499562fb8f238f770aae3f (patch) | |
tree | bf74dfa2269d40cab80b94a1e22cc070b7e6bb67 /util/msrtool/msrutils.c | |
parent | 2296479dfd886d4cf4c145f1d3ed1ec64dc20630 (diff) |
acpigen: Fix ?: operator confusion
strlen(string) was on the "negative" side of the selection operator, the
side where string is NULL.
Change-Id: Ic421a5406ef788c504e30089daeba61a195457ae
Reported-by: Coverity Scan (CID 1355263)
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/14867
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@google.com>
Diffstat (limited to 'util/msrtool/msrutils.c')
0 files changed, 0 insertions, 0 deletions