From 6080da714069610e2c5ef53d374f97b1cd29f1bb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 17 Jul 2015 14:53:44 +0200 Subject: Fix format string for num_peaks --- libcrystfel/src/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel/src') diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index d8968891..313e25e4 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -1155,7 +1155,7 @@ int read_chunk_2(Stream *st, struct image *image, StreamReadFlags srf) image->bw = bw; } - if ( sscanf(line, "num_peaks = %lld %%", &num_peaks) == 1 ) { + if ( sscanf(line, "num_peaks = %lld", &num_peaks) == 1 ) { image->num_peaks = num_peaks; } -- cgit v1.2.3