]> git.sesse.net Git - vlc/commitdiff
Fixed a compilation issue.
authorChristophe Massiot <massiot@videolan.org>
Mon, 6 Jan 2003 22:57:47 +0000 (22:57 +0000)
committerChristophe Massiot <massiot@videolan.org>
Mon, 6 Jan 2003 22:57:47 +0000 (22:57 +0000)
src/misc/threads.c

index 9e14e6f18c068ed5db751740aa55c9e4a8bdc0fa..740ca3c98e7f117b330a50a85fb2744b15b87785 100644 (file)
@@ -2,7 +2,7 @@
  * threads.c : threads implementation for the VideoLAN client
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001, 2002 VideoLAN
- * $Id: threads.c,v 1.31 2003/01/06 22:07:47 massiot Exp $
+ * $Id: threads.c,v 1.32 2003/01/06 22:57:47 massiot Exp $
  *
  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -615,7 +615,7 @@ int __vlc_thread_create( vlc_object_t *p_this, char * psz_file, int i_line,
                                                SCHED_RR, &param )) )
         {
             msg_Warn( p_this, "couldn't go to real-time priority (%s:%d): %s",
-                      psz_file, i_line, strerror(errno) );
+                      psz_file, i_line, strerror(i_error) );
             i_priority = 0;
         }
     }