Home
last modified time | relevance | path

Searched refs:DTCOMPAT_FILE (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/shared/
Dcondition.c515 #define DTCOMPAT_FILE "/proc/device-tree/compatible" macro
522 r = read_full_virtual_file(DTCOMPAT_FILE, &dtcompat, &size); in condition_test_firmware_devicetree_compatible()
526 … log_debug_errno(r, "Failed to open() '%s', assuming machine is incompatible: %m", DTCOMPAT_FILE); in condition_test_firmware_devicetree_compatible()
532 log_debug("%s has zero length, assuming machine is incompatible", DTCOMPAT_FILE); in condition_test_firmware_devicetree_compatible()
539 … log_debug("%s is in an unknown format, assuming machine is incompatible", DTCOMPAT_FILE); in condition_test_firmware_devicetree_compatible()