diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-24 13:45:28 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-24 13:45:28 +0100 |
commit | 850ed0a79fd5c91ac6d037b151cd6ce314a3871f (patch) | |
tree | ccb68032bb48b993d3e6b79cba0dc842e5b044c1 /package/watchdog/patches/patch-src_memory_c | |
parent | c0c6f1a00ae612aca71a9c404056ff5656263513 (diff) | |
parent | f71d123ae12dad7f1b3df2be6e8a9353f12901da (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/watchdog/patches/patch-src_memory_c')
-rw-r--r-- | package/watchdog/patches/patch-src_memory_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/watchdog/patches/patch-src_memory_c b/package/watchdog/patches/patch-src_memory_c new file mode 100644 index 000000000..06540812e --- /dev/null +++ b/package/watchdog/patches/patch-src_memory_c @@ -0,0 +1,11 @@ +--- watchdog-5.13.orig/src/memory.c 2013-02-01 12:15:44.000000000 +0100 ++++ watchdog-5.13/src/memory.c 2014-03-22 16:07:15.000000000 +0100 +@@ -81,7 +81,7 @@ int check_memory(void) + syslog(LOG_INFO, "currently there are %d kB of free memory available", free); + #endif /* USE_SYSLOG */ + +- if (free < minpages * (EXEC_PAGESIZE / 1024)) { ++ if (free < minpages * (4096 / 1024)) { + #if USE_SYSLOG + syslog(LOG_ERR, "memory %d kB is less than %d pages", free, minpages); + #endif /* USE_SYSLOG */ |