queue2: use g_strerror() instead of strerror()

Need UTF-8 encoding.
This commit is contained in:
Tim-Philipp Müller 2014-04-07 17:49:14 +01:00
parent 8924782dd4
commit d5c2439f08

View file

@ -1526,7 +1526,7 @@ gst_queue2_close_temp_location_file (GstQueue2 * queue)
if (queue->temp_remove) {
if (remove (queue->temp_location) < 0) {
GST_WARNING_OBJECT (queue, "Failed to remove temporary file %s: %s",
queue->temp_location, strerror (errno));
queue->temp_location, g_strerror (errno));
}
}