From cb2a3e90360ed852f3ee46dfef3d28e69f4c3346 Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Sat, 5 May 2018 20:40:34 +0200 Subject: [PATCH] swaymsg: Fix spelling in error message --- swaymsg/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swaymsg/main.c b/swaymsg/main.c index c9be3a86..7e3622d9 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -32,7 +32,7 @@ static void pretty_print_cmd(json_object *r) { if (!success(r, true)) { json_object *error; if (!json_object_object_get_ex(r, "error", &error)) { - printf("An unknkown error occured"); + printf("An unknkown error occurred"); } else { printf("Error: %s\n", json_object_get_string(error)); }