From 6833c898bfbcf37de727a73d656a13609f662460 Mon Sep 17 00:00:00 2001 From: Jerzi Kaminsky Date: Fri, 21 Apr 2017 02:09:59 +0300 Subject: [PATCH] Fix Some Log messages --- sway/security.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/security.c b/sway/security.c index c947342a..1b6b7958 100644 --- a/sway/security.c +++ b/sway/security.c @@ -22,7 +22,7 @@ static bool validate_ipc_target(const char *program) { } if (!S_ISREG(sb.st_mode)) { sway_log(L_ERROR, - "IPC target '%s' MUST be/point at an existing regular file", + "IPC target '%s' MUST point at an existing file", program); return false; } @@ -31,7 +31,7 @@ static bool validate_ipc_target(const char *program) { sway_log(L_ERROR, "IPC target '%s' MUST be owned by root", program); return false; #else - sway_log(L_INFO, "IPC target '%s' MUST be owned by root (waived for debug build)", program); + sway_log(L_ERROR, "IPC target '%s' MUST be owned by root (waived for debug build)", program); return true; #endif }