util: Fix sysinfo command
util: Fix sysinfo command

Local variable was being used for result instead of the argument passed
to the function.

BRANCH=none
BUG=b:176758580
TEST=(nocturne) $ ectool --name=cros_fp sysinfo

Signed-off-by: Tom Hughes <fc5c12f30a5ed2baa0581f44ee14ad1eb7b20d83@chromium.org>
Change-Id: Icc7af7bfe854165f1c9d0569f27f857a9fc309e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2610931
Commit-Queue: Yicheng Li <77a205905d8955597c069555e9569c30512f6bd8@chromium.org>
Reviewed-by: Yicheng Li <77a205905d8955597c069555e9569c30512f6bd8@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec