aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/main.c
diff options
context:
space:
mode:
authorNicolas Braud-Santoni <nicolas@braud-santoni.eu>2018-05-05 20:40:34 +0200
committerNicolas Braud-Santoni <nicolas@braud-santoni.eu>2018-05-05 20:40:34 +0200
commitcb2a3e90360ed852f3ee46dfef3d28e69f4c3346 (patch)
treeb04e1e04738c80de5a9f9d61efd47646045a6aef /swaymsg/main.c
parent8dae168b77173f086880db0878f0a4b34a53e8b3 (diff)
swaymsg: Fix spelling in error message
Diffstat (limited to 'swaymsg/main.c')
-rw-r--r--swaymsg/main.c2
1 files changed, 1 insertions, 1 deletions
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));
}