novi upstream verzije 2.8.3
[ossec-hids.git] / src / rootcheck / check_rc_sys.c
index 1e1761f..0ce94db 100755 (executable)
@@ -357,7 +357,7 @@ int read_sys_dir(char *dir_name, int do_read)
                 notify_rk(ALERT_ROOTKIT_FOUND, op_msg);
                 _sys_errors++;
             }
-            #elif Darwin
+            #elif Darwin || FreeBSD
             if(strncmp(dir_name, "/dev", strlen("/dev")) != 0)
             {
                 notify_rk(ALERT_ROOTKIT_FOUND, op_msg);
@@ -478,7 +478,7 @@ void check_rc_sys(char *basedir)
             (ftell(_suid) == 0)?"":
             "       rootcheck-suid-files.txt (list of suid files)");
 
-        notify_rk(ALERT_SYSTEM_ERROR, op_msg);
+        notify_rk(ALERT_SYSTEM_ERR, op_msg);
     }
 
     if(_wx)