Commit 74d54486 authored by Owen W. Taylor's avatar Owen W. Taylor
Browse files

Fix a missing format string

die() should be called with a format string, not a variable string.
parent 8cebdd52
......@@ -163,7 +163,7 @@ play_local(int argc, char **argv)
GError *error = NULL;
GbbEventPlayer *player = GBB_EVENT_PLAYER(gbb_evdev_player_new("Gnome Battery Bench Test", &error));
if (player == NULL)
die("%s", error->message);
return do_play(player, argc, argv);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment