xwayland: Put the filename in the error message

This commit is contained in:
Jasper St. Pierre 2014-04-17 14:44:06 -04:00
parent 14deeef8a7
commit e5ab4f13f1

View File

@ -166,7 +166,7 @@ create_lockfile (int display, int *display_out)
{ {
if (unlink (filename) < 0) if (unlink (filename) < 0)
{ {
g_warning ("failed to unlink stale lock file: %m"); g_warning ("failed to unlink stale lock file %s: %m", filename);
display++; display++;
} }
g_free (filename); g_free (filename);