aboutsummaryrefslogtreecommitdiff
path: root/src/sysvinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysvinit.c')
-rw-r--r--src/sysvinit.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sysvinit.c b/src/sysvinit.c
index cc26fa9..6bc918c 100644
--- a/src/sysvinit.c
+++ b/src/sysvinit.c
@@ -879,7 +879,7 @@ telinit (const char *arg)
fd = open (init_fifo, O_WRONLY);
if (fd < 0)
{
- logmsg (LOG_ERR, _("can't open %s: %s"), init_fifo, strerror (errno));
+ logmsg (LOG_ERR, _("cannot open %s: %s"), init_fifo, strerror (errno));
exit (EX_UNAVAILABLE);
}
if (write (fd, &req, sizeof (req)) != sizeof (req))
@@ -1173,11 +1173,10 @@ sysvinit_power (void)
}
close (fd);
if (unlink (power_stat_file))
- logmsg (LOG_ERR, _("can't unlink %s: %s"), power_stat_file,
- strerror (errno));
+ logfuncall ("unlink", power_stat_file, errno);
}
else
- debug (1, (_("can't open %s: %s"), power_stat_file, strerror (errno)));
+ debug (1, (_("cannot open %s: %s"), power_stat_file, strerror (errno)));
powerfailcmd (power_stat);
}

Return to:

Send suggestions and report system problems to the System administrator.