summaryrefslogtreecommitdiff
path: root/lib/intel_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/intel_os.c')
-rw-r--r--lib/intel_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/intel_os.c b/lib/intel_os.c
index 0d4f43da..4194744a 100644
--- a/lib/intel_os.c
+++ b/lib/intel_os.c
@@ -102,7 +102,7 @@ intel_get_avail_ram_mb(void)
fd = open("/proc/sys/vm/drop_caches", O_RDWR);
if (fd != -1) {
- ret = write(fd, "3", 2);
+ ret = write(fd, "3\n", 2);
close(fd);
(void)ret;
}