Changeset 47374 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Jul 24, 2013 2:10:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/error.c
r46757 r47374 126 126 static void outputChromiumMessage( FILE *output, char *str ) 127 127 { 128 fprintf( output, "%s%s%s%s\n", str, 128 fprintf( output, "%s%s%s%s\n", str, 129 129 swedish_chef ? " BORK BORK BORK!" : "", 130 130 canada ? ", eh?" : "", … … 220 220 } 221 221 else 222 { 222 { 223 223 #endif 224 224 va_end( args ); … … 242 242 243 243 void crEnableWarnings(int onOff) 244 { 244 { 245 245 warnings_enabled = onOff; 246 246 } … … 377 377 { 378 378 crGetProcName(pname, 1024); 379 sprintf(str, "%s_%s_%u.txt", fnamePrefix, pname,379 sprintf(str, 380 380 #ifdef RT_OS_WINDOWS 381 382 #else 383 384 #endif 385 381 "%s_%s_%u.txt", fnamePrefix, pname, GetCurrentProcessId() 382 #else 383 "%s_%s_%lu.txt", fnamePrefix, pname, crGetPID() 384 #endif 385 ); 386 386 fname = &str[0]; 387 387 } … … 403 403 if (!output) 404 404 { 405 crError( "Couldn't open debug log %s", fname ); 405 crError( "Couldn't open debug log %s", fname ); 406 406 } 407 407 }
Note:
See TracChangeset
for help on using the changeset viewer.