1
0
Fork 0
mirror of https://github.com/swaywm/sway.git synced 2025-04-12 16:36:20 +00:00

swaymsg: Fix spelling in error message

This commit is contained in:
Nicolas Braud-Santoni 2018-05-05 20:40:34 +02:00
parent 8dae168b77
commit cb2a3e9036

View file

@ -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));
}