summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2016-03-01 15:10:38 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2016-03-01 15:12:07 (GMT)
commit0e768e8edeaa14a83bb8de9fd887ba7ffa9635d3 (patch) (side-by-side diff)
tree7062df084f5b87f7e088fb3a527d815dfd7e2246 /src
parent0d0a148121dcb8edd49cad900f27141336576f9d (diff)
downloadpies-0e768e8edeaa14a83bb8de9fd887ba7ffa9635d3.tar.gz
pies-0e768e8edeaa14a83bb8de9fd887ba7ffa9635d3.tar.bz2
Bugfix
* src/sysvinit.c (sysvinit_environ_hint): Fix dimensions.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/sysvinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysvinit.c b/src/sysvinit.c
index f4ef101..f2f4403 100644
--- a/src/sysvinit.c
+++ b/src/sysvinit.c
@@ -346,7 +346,7 @@ static char env_console[] = ENVAR_CONSOLE ENVTMPL_CONSOLE;
#define NR_ENVHINT 32
-char *sysvinit_environ_hint[NR_ENVHINT] = {
+char *sysvinit_environ_hint[NR_ENVHINT+1] = {
env_prevlevel,
env_runlevel,
env_console,

Return to:

Send suggestions and report system problems to the System administrator.