summaryrefslogtreecommitdiff
path: root/tprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tprintf.c')
0 files changed, 0 insertions, 0 deletions
cgi/linux/net-next.git/diff/?id=60438d9a1ef4176d79739efadee122afe92904b8&id2=9735a22799b9214d17d3c231fe377fc852f042e9'>diff)
tools/power/acpi: close file only if it is open
The logic on the test for a valid fd to close is incorrect. This was just a mistake and was pointed out by Colin Ian King. Link: https://patchwork.kernel.org/patch/8620201/ Original-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat