Skip to content
Snippets Groups Projects
Commit 85092591 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

tools: record: fix dmi recording


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: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent a1c89093
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment