Fixed typo in previous commit.

This commit is contained in:
Vojtech Bubnik 2021-03-14 06:54:23 +01:00
parent 932336612c
commit 95c5763b83

View file

@ -34,7 +34,7 @@ void detect_platform()
if (f) {
char buf[4096];
// Read the 1st line.
if (::fgets(buf, 4096, f))
if (::fgets(buf, 4096, f)) {
if (strstr(buf, "Chromium OS") != nullptr) {
s_platform_flavor = PlatformFlavor::LinuxOnChromium;
BOOST_LOG_TRIVIAL(info) << "Platform flavor: LinuxOnChromium";