summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-03-16 16:31:48 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2008-03-16 16:31:48 +0000
commit0bdc0832be3b459f721205372c7ba1ea7f617f73 (patch)
treef9f26e74699dff3aa1dd1256129f822988034b87 /init/init.c
parent2501d27f30a353e6acf6fa8a92bf91ec916610a2 (diff)
* init.c (reboot_system): Initialize noise_len.
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 4fed8a3f..57c5a66e 100644
--- a/init/init.c
+++ b/init/init.c
@@ -253,7 +253,7 @@ reboot_system (int flags)
struct procinfo *pi = 0;
size_t pisize = 0;
char *noise;
- size_t noise_len;
+ size_t noise_len = 0;
int flags;
err = proc_getprocinfo (procserver, pp[ind], &flags,
(int **)&pi, &pisize,