mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 01:11:28 +00:00
fix typo
This commit is contained in:
parent
9498e4d261
commit
d63497698b
|
@ -60,7 +60,7 @@ static void pretty_print_cmd(json_object *r) {
|
||||||
if (!success_object(r)) {
|
if (!success_object(r)) {
|
||||||
json_object *error;
|
json_object *error;
|
||||||
if (!json_object_object_get_ex(r, "error", &error)) {
|
if (!json_object_object_get_ex(r, "error", &error)) {
|
||||||
printf("An unknkown error occurred");
|
printf("An unknown error occurred");
|
||||||
} else {
|
} else {
|
||||||
printf("Error: %s\n", json_object_get_string(error));
|
printf("Error: %s\n", json_object_get_string(error));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue