diff options
author | 2018-05-05 15:00:40 -0400 | |
---|---|---|
committer | 2018-05-05 15:00:40 -0400 | |
commit | 967b14c2279b6a09830912b09d54668119045967 (patch) | |
tree | d508d2e5999e6f258b49e6698fcc874ba03ca8b6 /swaymsg | |
parent | Merge pull request #1915 from RyanDwyer/title-format (diff) | |
parent | Merge branch 'master' into spelling (diff) | |
download | sway-967b14c2279b6a09830912b09d54668119045967.tar.gz sway-967b14c2279b6a09830912b09d54668119045967.tar.zst sway-967b14c2279b6a09830912b09d54668119045967.zip |
Merge pull request #1924 from nbraud/spelling
swaymsg: Fix spelling in error message
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/main.c | 2 |
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) { | |||
32 | if (!success(r, true)) { | 32 | if (!success(r, true)) { |
33 | json_object *error; | 33 | json_object *error; |
34 | if (!json_object_object_get_ex(r, "error", &error)) { | 34 | if (!json_object_object_get_ex(r, "error", &error)) { |
35 | printf("An unknkown error occured"); | 35 | printf("An unknkown error occurred"); |
36 | } else { | 36 | } else { |
37 | printf("Error: %s\n", json_object_get_string(error)); | 37 | printf("Error: %s\n", json_object_get_string(error)); |
38 | } | 38 | } |