diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-02-21 11:41:19 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-02-21 11:42:01 +1000 |
commit | 294298880d727c42320995435f752ab0dd975c00 (patch) | |
tree | 337125e676390804144f97969e99250a50e76934 /tools | |
parent | b2cda3f4b7e6275177b4e688ea7e94c0470fe4bc (diff) | |
download | libinput-294298880d727c42320995435f752ab0dd975c00.tar.gz |
tools: record: fix fallback os-release file handling
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libinput-record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libinput-record.c b/tools/libinput-record.c index fd1ba926..0b10d8bf 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -1450,7 +1450,7 @@ print_system_header(struct record_context *ctx) osrelease = fopen("/etc/os-release", "r"); if (!osrelease) - fopen("/usr/lib/os-release", "r"); + osrelease = fopen("/usr/lib/os-release", "r"); if (osrelease) { char *distro = NULL, *version = NULL; |