aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 5cc89d1b..24a93ce1 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -407,8 +407,8 @@ streamwrite:
time_accounts_set(taccs, TACC_WRITESTREAM);
set_last_task(last_task, "stream write");
sb_shared->pings[cookie]++;
- ret = write_chunk(st, image, iargs->dtempl,
- iargs->stream_peaks, iargs->stream_refls);
+ ret = stream_write_chunk(st, image, iargs->dtempl,
+ iargs->stream_flags);
if ( ret != 0 ) {
ERROR("Error writing stream file.\n");
}