diff options
Diffstat (limited to 'host/lib/host_misc.c')
-rw-r--r-- | host/lib/host_misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/host_misc.c b/host/lib/host_misc.c index adc39420..3fb9b24e 100644 --- a/host/lib/host_misc.c +++ b/host/lib/host_misc.c @@ -108,6 +108,7 @@ int WriteFile(const char* filename, const void *data, uint64_t size) { VBDEBUG(("Unable to write to file %s\n", filename)); fclose(f); unlink(filename); /* Delete any partial file */ + return 1; } fclose(f); |