Fix clang warnings

This commit is contained in:
Mikkel Oscar Lyderik 2016-02-08 12:30:42 +01:00
parent 4546ce1188
commit bacd40d6db
2 changed files with 3 additions and 3 deletions

View file

@ -171,7 +171,7 @@ void error_handler(int sig) {
sway_log(L_ERROR, "Unable to allocate memory to show maps");
break;
}
sway_log(L_ERROR, m);
sway_log(L_ERROR, "%s", m);
}
fclose(maps);
}