diff --git a/src/barebox-state.c b/src/barebox-state.c index 53e11c4..7ad1d68 100644 --- a/src/barebox-state.c +++ b/src/barebox-state.c @@ -1421,7 +1421,7 @@ root = of_read_proc_devicetree(); if (IS_ERR(root)) { - fprintf(stderr, "Unable to read devicetree from /proc/device-tree: %s\n", + fprintf(stderr, "Unable to read devicetree. %s\n", strerror(-PTR_ERR(root))); return ERR_CAST(root); }