• Peter Hutterer's avatar
    tools: record: fix dmi recording · 85092591
    Peter Hutterer authored
    Processing os-release in the same buffer that the dmi modalias used caused the
    dmi to be recorded as 'dmi: "VERSION_ID=31"'. The cause for that was simply
    that the dmi modalias was read but not printed until after the os-release
    information was processed.
    Fix this two-fold: rearrange that each part now reads and prints in
    one go, and rename the buffers so we don't re-use them.
    Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
libinput-record.c 59.3 KB