From a5177f7e90a3c44ab8e37839e1a5bb2efb728ec9 Mon Sep 17 00:00:00 2001 From: Frank Benkstein Date: Wed, 28 Nov 2007 00:03:30 +0100 Subject: [PATCH] src/plugins.c: cosmetic improvements * remove on void cast * fix an error message --- src/plugins.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins.c b/src/plugins.c index 6caa5f4..2cad49b 100644 --- a/src/plugins.c +++ b/src/plugins.c @@ -161,7 +161,7 @@ static bool __resolve_depedencies(void) if (q == NULL) { int errsv = errno; - fprintf(stderr, "vlock-plugin: '%s' requires '%s' which could not be loaded\n", p->name, d); + fprintf(stderr, "vlock-plugins: '%s' requires '%s' which could not be loaded\n", p->name, d); list_free(required_plugins); errno = errsv; return false; @@ -375,7 +375,7 @@ void handle_vlock_start(const char *hook_name) } if (errsv) - (void) fprintf(stderr, "vlock: plugin '%s' failed: %s\n", p->name, strerror(errsv)); + fprintf(stderr, "vlock: plugin '%s' failed: %s\n", p->name, strerror(errsv)); exit(EXIT_FAILURE); } -- 2.11.4.GIT