diff options
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r-- | src/fs/fs_test_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c index 3112ce9a2..f24a11e82 100644 --- a/src/fs/fs_test_lib.c +++ b/src/fs/fs_test_lib.c | |||
@@ -580,7 +580,8 @@ file_generator (void *cls, | |||
580 | uint8_t *cbuf = buf; | 580 | uint8_t *cbuf = buf; |
581 | int mod; | 581 | int mod; |
582 | 582 | ||
583 | *emsg = NULL; | 583 | if (emsg != NULL) |
584 | *emsg = NULL; | ||
584 | if (buf == NULL) | 585 | if (buf == NULL) |
585 | return 0; | 586 | return 0; |
586 | for (pos=0;pos<8;pos++) | 587 | for (pos=0;pos<8;pos++) |