mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
sh: Fix mismatch in array bounds for vforkexecshell().
Reviewed by: imp, jilles, emaste
Reported by: GCC -Warray-parameter
Differential Revision: https://reviews.freebsd.org/D36760
(cherry picked from commit 10297a9ed4)
This commit is contained in:
parent
87bc509f8e
commit
e66a9d0570
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ void setjobctl(int);
|
|||
void showjobs(int, int);
|
||||
struct job *makejob(union node *, int);
|
||||
pid_t forkshell(struct job *, union node *, int);
|
||||
pid_t vforkexecshell(struct job *, char **, char **, const char *, int, int []);
|
||||
pid_t vforkexecshell(struct job *, char **, char **, const char *, int, int [2]);
|
||||
int waitforjob(struct job *, int *);
|
||||
int stoppedjobs(void);
|
||||
int backgndpidset(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue