ports/security/gvm-libs/patches/patch-boreas_cli_c

13 lines
477 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: boreas/cli.c
--- boreas/cli.c.orig
+++ boreas/cli.c
@@ -168,7 +168,7 @@ run_cli_scan (scanner_t *scanner, alive_test_t alive_t
gettimeofday (&end_time, NULL);
if (scanner->print_results == 1)
printf ("Alive scan finished in %ld seconds: %d alive hosts of %d.\n",
- end_time.tv_sec - start_time.tv_sec,
+ end_time.tv_usec - start_time.tv_usec,
number_of_targets - number_of_dead_hosts, number_of_targets);
return error;