X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/4de9fb475bbea489660b55d1ba2194bd2766ce65..09fd88e447556f7fa24b9efd9268364ff85d2dbf:/nvram.tproj/nvram.c diff --git a/nvram.tproj/nvram.c b/nvram.tproj/nvram.c index b9a6db9..ec5bd3b 100644 --- a/nvram.tproj/nvram.c +++ b/nvram.tproj/nvram.c @@ -67,7 +67,7 @@ int main(int argc, char **argv) gOptionsRef = IORegistryEntryFromPath(masterPort, "IODeviceTree:/options"); if (gOptionsRef == 0) { - FatalError(-1, "Error (%d) getting a reference to /options", -1); + FatalError(-1, "nvram is not supported on this system.", -1); exit(-1); } @@ -575,3 +575,4 @@ static CFTypeRef ConvertValueToCFTypeRef(CFTypeID typeID, char *value) return valueRef; } +