summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--src/supervision/s6-permafailon.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index cbb094d..eb6c7da 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -36,3 +36,4 @@ Thanks to:
Mira Ressel <aranea@aixah.de>
Eric Vidal <eric@obarun.org>
Jens Rehsack <rehsack@gmail.com>
+ Xavier Stonestreet <xstonestreet@gmail.com>
diff --git a/src/supervision/s6-permafailon.c b/src/supervision/s6-permafailon.c
index 91df73d..6c012be 100644
--- a/src/supervision/s6-permafailon.c
+++ b/src/supervision/s6-permafailon.c
@@ -57,7 +57,7 @@ static void list_scan (char const *s, unsigned char *codes, sigset_t *sigs)
int main (int argc, char const *const *argv, char const *const *envp)
{
- unsigned char codes[32] ;
+ unsigned char codes[32] = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" ;
sigset_t sigs ;
unsigned int total, seconds, n ;
struct stat st ;