[PATCH 10/11] blspec: Make error message more clear

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 4 09:04:29 EST 2013


"Nothing found on" is a bit unspecific. Make clear that no
bootspec entry is found.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 common/blspec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/blspec.c b/common/blspec.c
index cfefd26..ec45f0b 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -539,7 +539,7 @@ int blspec_boot_devicename(const char *devname, int verbose, int dryrun)
 
 	e = blspec_entry_default(blspec);
 	if (!e) {
-		printf("Nothing found on %s\n", devname);
+		printf("No bootspec entry found on %s\n", devname);
 		ret = -ENOENT;
 		goto out;
 	}
-- 
1.8.4.rc3




More information about the barebox mailing list