queue2: use g_strerror() instead of strerror()
authorTim-Philipp Müller <tim@centricular.com>
Mon, 7 Apr 2014 16:49:14 +0000 (17:49 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 7 Apr 2014 16:49:14 +0000 (17:49 +0100)
Need UTF-8 encoding.

plugins/elements/gstqueue2.c

index 4feaf977415fef37b09c3fb479809a27772d4903..f085abe3bf3a48e005cf29448e2a9b253317e7c3 100644 (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));
     }
   }