From 18ba0fc4a31718e34c0269a18479ee7b18e96f9e Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Thu, 13 Dec 2018 08:28:32 -0500 Subject: [PATCH] add missing argument to error message --- citadel-mkimage/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel-mkimage/src/config.rs b/citadel-mkimage/src/config.rs index 18ce82e..6e05929 100644 --- a/citadel-mkimage/src/config.rs +++ b/citadel-mkimage/src/config.rs @@ -62,7 +62,7 @@ impl BuildConfig { }; let src = Path::new(&self.source); if !src.is_file() { - bail!("Source path '{}' does not exist or is not a regular file"); + bail!("Source path '{}' does not exist or is not a regular file", src.display()); } if self.image_type == "modules" && self.kernel_version.is_none() { bail!("Cannot build 'modules' image without kernel-version field");