Changelog: * dlls/winmm/wineoss/audio.c Print the strerror instead of just the errno -- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ War doesn't determine who's right. War determines who's left.
Index: dlls/winmm/wineoss/audio.c =================================================================== RCS file: /home/wine/wine/dlls/winmm/wineoss/audio.c,v retrieving revision 1.50 diff -u -r1.50 audio.c --- dlls/winmm/wineoss/audio.c 2002/01/12 21:15:08 1.50 +++ dlls/winmm/wineoss/audio.c 2002/01/19 21:37:36 @@ -1546,7 +1546,7 @@ wwo->mapping = mmap(NULL, wwo->maplen, PROT_WRITE, MAP_SHARED, wwo->unixdev, 0); if (wwo->mapping == (LPBYTE)-1) { - ERR("(%p): Could not map sound device for direct access (errno=%d)\n", dsdb, errno); + ERR("(%p): Could not map sound device for direct access (%s)\n", dsdb, strerror(errno)); return DSERR_GENERIC; } TRACE("(%p): sound device has been mapped for direct access at %p, size=%ld\n", dsdb, wwo->mapping, wwo->maplen);