From 8ae41453da9f511b65967e1c6ff5ae9cb1bb4864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= Date: Sat, 22 Dec 2012 12:12:41 -0300 Subject: [PATCH] hog: Fix error message formating --- profiles/input/suspend-dummy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/input/suspend-dummy.c b/profiles/input/suspend-dummy.c index 14aabd0d5..33b790ad1 100644 --- a/profiles/input/suspend-dummy.c +++ b/profiles/input/suspend-dummy.c @@ -119,7 +119,7 @@ int suspend_init(suspend_event suspend, resume_event resume) if (mkfifo(HOG_SUSPEND_FIFO, S_IRWXU) < 0) { int err = -errno; - error("Can't create FIFO (%s) : %s(%d)", HOG_SUSPEND_FIFO, + error("Can't create FIFO (%s): %s (%d)", HOG_SUSPEND_FIFO, strerror(-err), -err); return err; } -- 2.47.3