mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 12:06:12 +00:00
start: declare int array const
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
ec1dc63394
commit
7288dfb69d
@ -301,9 +301,10 @@ restart:
|
||||
|
||||
static int setup_signal_fd(sigset_t *oldmask)
|
||||
{
|
||||
int ret, sig;
|
||||
int ret;
|
||||
int sig;
|
||||
sigset_t mask;
|
||||
int signals[] = {SIGBUS, SIGILL, SIGSEGV, SIGWINCH};
|
||||
const int signals[] = {SIGBUS, SIGILL, SIGSEGV, SIGWINCH};
|
||||
|
||||
/* Block everything except serious error signals. */
|
||||
ret = sigfillset(&mask);
|
||||
|
Loading…
Reference in New Issue
Block a user