]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_mmc.c
env_mmc: Properly prefix mmc errors with '!'
[karo-tx-uboot.git] / common / env_mmc.c
index 6c4ce2f05d83aff57e72c20ab86e198f7ce4b871..51e7707cb0f7b0bcc7ca9f377e4f42ca97255a9e 100644 (file)
@@ -93,13 +93,13 @@ static inline int mmc_set_env_part(struct mmc *mmc) {return 0; };
 static const char *init_mmc_for_env(struct mmc *mmc)
 {
        if (!mmc)
-               return "No MMC card found";
+               return "!No MMC card found";
 
        if (mmc_init(mmc))
-               return "MMC init failed";
+               return "!MMC init failed";
 
        if (mmc_set_env_part(mmc))
-               return "MMC partition switch failed";
+               return "!MMC partition switch failed";
 
        return NULL;
 }