From: Petr Štetiar Date: Fri, 10 Jan 2020 21:56:31 +0000 (+0100) Subject: instance: fix typo in error message X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=44dd9419812b6dc8fa164833fb274e33e5e284fa;p=oweals%2Fprocd.git instance: fix typo in error message Fixes `removed` to proper `remove` in "Failed to removed pidfile". Fixes: b12bb150ed38 ("procd: service: Support writing pidfiles") Signed-off-by: Petr Štetiar --- diff --git a/service/instance.c b/service/instance.c index 342199a..ee25868 100644 --- a/service/instance.c +++ b/service/instance.c @@ -270,7 +270,7 @@ instance_removepid(struct service_instance *in) { if (!in->pidfile) return 0; if (unlink(in->pidfile)) { - ERROR("Failed to removed pidfile: %s: %m\n", in->pidfile); + ERROR("Failed to remove pidfile: %s: %m\n", in->pidfile); return 1; } return 0;