aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/mpmd/mpmd_image_loader.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-02-20 14:40:14 -0800
committerMartin Braun <martin.braun@ettus.com>2018-02-20 14:40:14 -0800
commit2ff296c99760628c4b0042cf6d2b32a0e3986364 (patch)
tree682601063abf1ea9ed2dc87b5e744d55469b1a55 /host/lib/usrp/mpmd/mpmd_image_loader.cpp
parentecd32ece231d1fa709ad28cc4cf0d082af1db1c9 (diff)
downloaduhd-2ff296c99760628c4b0042cf6d2b32a0e3986364.tar.gz
uhd-2ff296c99760628c4b0042cf6d2b32a0e3986364.tar.bz2
uhd-2ff296c99760628c4b0042cf6d2b32a0e3986364.zip
mpmd: Fix typo in image loader
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_image_loader.cpp')
-rw-r--r--host/lib/usrp/mpmd/mpmd_image_loader.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_image_loader.cpp b/host/lib/usrp/mpmd/mpmd_image_loader.cpp
index bdeaff267..fa09dc08b 100644
--- a/host/lib/usrp/mpmd/mpmd_image_loader.cpp
+++ b/host/lib/usrp/mpmd/mpmd_image_loader.cpp
@@ -105,9 +105,10 @@ static bool mpmd_image_loader(const image_loader::image_loader_args_t &image_loa
if (boost::filesystem::exists(image_loader_args.fpga_path)) {
return image_loader_args.fpga_path;
} else {
- throw uhd::runtime_error(
- str(boost::format("FPGA file provided does not exists: %s")
- % image_loader_args.fpga_path));
+ throw uhd::runtime_error(str(
+ boost::format("FPGA file provided does not exist: %s")
+ % image_loader_args.fpga_path
+ ));
}
}
// Otherwise, we need to generate one