Fixes `removed` to proper `remove` in "Failed to removed pidfile".

Fixes: b12bb150ed38 ("procd: service: Support writing pidfiles")
Signed-off-by: Petr Štetiar <yn...@true.cz>
---
 service/instance.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/service/instance.c b/service/instance.c
index b0c98079d5b9..ce5233807dbb 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;

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to