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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c
index fa017710..ced21911 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -174,7 +174,7 @@ static struct image *file_wait_open_read(const char *filename,
return NULL;
}
- } while ( r );
+ } while ( image == NULL );
return image;
}