403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/security/openvas/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/openvas/files/patch-src_openvas.c
--- src/openvas.c	2022-07-31 21:26:36.888737000 -0500
+++ src/openvas.c	2022-07-31 21:28:05.607778000 -0500
@@ -44,7 +44,7 @@
 #include "sighand.h"               /* for openvas_signal */
 #include "utils.h"                 /* for store_file */
 
-#include <bsd/unistd.h> /* for proctitle_init */
+#include <unistd.h> /* for proctitle_init */
 #include <errno.h>      /* for errno() */
 #include <fcntl.h>      /* for open() */
 #include <gcrypt.h>     /* for gcry_control */
@@ -468,11 +468,19 @@
  * @param argv Argument vector.
  */
 int
+#if defined(__FreeBSD__)
+openvas (int argc, char *argv[])
+ 
+{
+  int err;
+#else
 openvas (int argc, char *argv[], char *env[])
+
 {
   int err;
 
   setproctitle_init (argc, argv, env);
+#endif
   gcrypt_init ();
 
   static gboolean display_version = FALSE;

Youez - 2016 - github.com/yon3zu
LinuXploit