patch-src_memory_c 504 B

1234567891011
  1. --- watchdog-5.13.orig/src/memory.c 2013-02-01 12:15:44.000000000 +0100
  2. +++ watchdog-5.13/src/memory.c 2014-03-22 16:07:15.000000000 +0100
  3. @@ -81,7 +81,7 @@ int check_memory(void)
  4. syslog(LOG_INFO, "currently there are %d kB of free memory available", free);
  5. #endif /* USE_SYSLOG */
  6. - if (free < minpages * (EXEC_PAGESIZE / 1024)) {
  7. + if (free < minpages * (4096 / 1024)) {
  8. #if USE_SYSLOG
  9. syslog(LOG_ERR, "memory %d kB is less than %d pages", free, minpages);
  10. #endif /* USE_SYSLOG */