diff options
Diffstat (limited to 'src/dropcache.c')
-rw-r--r-- | src/dropcache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dropcache.c b/src/dropcache.c index 659f00a..ced103c 100644 --- a/src/dropcache.c +++ b/src/dropcache.c @@ -14,6 +14,7 @@ main(int argc, char **argv) perror(drop_caches); return 1; } + sync(); if (write(fd, "3\n", 2) != 2) { perror(drop_caches); |