Fix macOS build for previous.
authorCarl Hetherington <cth@carlh.net>
Sun, 31 Dec 2023 00:28:35 +0000 (01:28 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 31 Dec 2023 00:28:35 +0000 (01:28 +0100)
src/lib/cross_osx.cc

index 2455ad19003b57ddb92de3b48d34c2a834cb2a1a..913b19103865ae2992e4bbfc802d3c4e0eb70d20 100644 (file)
@@ -399,7 +399,7 @@ Drive::get ()
 
        LOG_DISK("Drive::get() found %1 drives:", drives.size());
        for (auto const& drive: drives) {
-               LOG_DISK("%1 %2 mounted=%3", drive.description(), drive.device(), drive.mounted());
+               LOG_DISK("%1 %2 mounted=%3", drive.description(), drive.device(), drive.mounted() ? "yes" : "no");
        }
 
        return drives;