aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorrj1 <rj1@riseup.net>2023-02-04 03:50:30 -0600
committerSimon Ser <contact@emersion.fr>2023-02-25 10:50:43 +0100
commitd63497698b2133d217267d3ab3e9c00927955e7b (patch)
treeb0399b0414c79778952fb62b259896119d43a50c /swaymsg
parent9498e4d2614fce6b29b64fd8a3861c1fb5be4b87 (diff)
fix typo
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index 4d3fa68c..db9346c4 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -60,7 +60,7 @@ static void pretty_print_cmd(json_object *r) {
if (!success_object(r)) {
json_object *error;
if (!json_object_object_get_ex(r, "error", &error)) {
- printf("An unknkown error occurred");
+ printf("An unknown error occurred");
} else {
printf("Error: %s\n", json_object_get_string(error));
}