diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/null.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/null.c b/example/null.c index 62ae3d4..5e8ebda 100644 --- a/example/null.c +++ b/example/null.c @@ -85,6 +85,7 @@ static int null_read(const char *path, char *buf, size_t size, if (offset >= (1ULL << 32)) return 0; + memset(buf, 0, size); return size; } |