forked from Lainports/freebsd-ports
- databases/pg-gvm: update to 22.6.5 - security/gsa: update to 23.0.0 - security/gsad: update to 22.9.1 - security/gvm-libs: update to 22.9.1 - security/gvmd: update to 23.5.2 - security/openvas: update to 23.0.1 - security/py-gvm-tools: update to 24.3.0 - security/py-notus-scanner: update to 22.6.3 - security/py-ospd-openvas: update to 22.7.1 - security/py-python-gvm: update to 24.3.0 - security/py-greenbone-feed-sync: update to 24.3.0
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
--- src/attack.c 2024-04-24 02:59:35.930683000 -0500
|
|
+++ src/attack.c 2024-04-24 03:02:33.794371000 -0500
|
|
@@ -31,7 +31,6 @@
|
|
#include "utils.h"
|
|
|
|
#include <arpa/inet.h> /* for inet_ntoa() */
|
|
-#include <bsd/unistd.h>
|
|
#include <errno.h> /* for errno() */
|
|
#include <fcntl.h>
|
|
#include <glib.h>
|
|
@@ -1541,13 +1540,13 @@
|
|
|
|
gettimeofday (&now, NULL);
|
|
if (test_alive_hosts_only)
|
|
- g_message ("Vulnerability scan %s finished in %ld seconds: "
|
|
+ g_message ("Vulnerability scan %s finished in %lld seconds: "
|
|
"%d alive hosts of %d",
|
|
- globals->scan_id, now.tv_sec - then.tv_sec,
|
|
+ globals->scan_id, (long long)now.tv_sec - then.tv_sec,
|
|
gvm_hosts_count (alive_hosts_list), gvm_hosts_count (hosts));
|
|
else
|
|
- g_message ("Vulnerability scan %s finished in %ld seconds: %d hosts",
|
|
- globals->scan_id, now.tv_sec - then.tv_sec,
|
|
+ g_message ("Vulnerability scan %s finished in %lld seconds: %d hosts",
|
|
+ globals->scan_id, (long long)now.tv_sec - then.tv_sec,
|
|
gvm_hosts_count (hosts));
|
|
|
|
gvm_hosts_free (hosts);
|