Update pledge() interface to match current OpenBSD.
ok djm@
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -403,7 +403,7 @@ getpgid(pid_t pid)
|
||||
|
||||
#ifndef HAVE_PLEDGE
|
||||
int
|
||||
pledge(const char *promises, const char *paths[])
|
||||
pledge(const char *promises, const char *execpromises)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ int pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *,
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_PLEDGE
|
||||
int pledge(const char *promises, const char *paths[]);
|
||||
int pledge(const char *promises, const char *execpromises);
|
||||
#endif
|
||||
|
||||
/* bsd-err.h */
|
||||
|
||||
Reference in new issue
Block a user