aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2015-02-09 16:25:45 -0800
committerMartin Braun <martin.braun@ettus.com>2015-02-10 16:18:05 +0100
commit064634b05c9e94ef11b9a8779d389b97e46fb3de (patch)
treea7c41bf6b7985d60c10fc1d1fb00f611fba5ea2c
parent4dc4c3cd700db5b1e66ca2be275bf5f743a75c8e (diff)
downloaduhd-064634b05c9e94ef11b9a8779d389b97e46fb3de.tar.gz
uhd-064634b05c9e94ef11b9a8779d389b97e46fb3de.tar.bz2
uhd-064634b05c9e94ef11b9a8779d389b97e46fb3de.zip
uhd::paths: Fixed empty string in error message
-rw-r--r--host/lib/utils/paths.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp
index e304555bd..4a95431b8 100644
--- a/host/lib/utils/paths.cpp
+++ b/host/lib/utils/paths.cpp
@@ -348,6 +348,7 @@ std::string uhd::find_image_path(const std::string &image_name, const std::strin
}
/* If we made it this far, then we didn't find anything. */
+ images_dir = "<no images directory located>";
throw uhd::io_error("Could not find path for image: " + image_name
+ "\n\n"
+ "Using images directory: " + images_dir