aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-04-23 12:03:15 +0200
committerThomas White <taw@physics.org>2024-04-23 12:03:15 +0200
commit895a493ce36f7fc81232727177145bf3fd2bde63 (patch)
tree369d4bc103adfdbafd2239ebdeafe5e3aaf3df9c
parent3438527c657d898f76658b464f018a045861af85 (diff)
align_detector: Add missing argument in warning message
Fixes: https://github.com/taw10/crystfel/issues/8
-rw-r--r--src/align_detector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/align_detector.c b/src/align_detector.c
index 8e6d2fcb..03b4a46c 100644
--- a/src/align_detector.c
+++ b/src/align_detector.c
@@ -227,7 +227,8 @@ static int run_pede()
strcpy(cmdline, dir);
strcat(cmdline, "/pede");
if ( !file_exists(cmdline) ) {
- ERROR("Couldn't find %s - falling back on shell path\n");
+ ERROR("Couldn't find %s - falling back on shell path\n",
+ cmdline);
strcpy(cmdline, "pede millepede.txt");
} else {
strcat(cmdline, " millepede.txt");