Changeset ef7f043 in mainline
- Timestamp:
- 2011-02-04T14:22:11Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6f8f808
- Parents:
- a2be824
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/debug.c
ra2be824 ref7f043 219 219 220 220 va_list args; 221 va_start(args, format);222 221 223 222 /* … … 231 230 232 231 if (log_stream != NULL) { 232 va_start(args, format); 233 233 234 fprintf(log_stream, "[%s]%s: ", log_prefix, level_name); 234 235 vfprintf(log_stream, format, args); 235 236 fflush(log_stream); 237 238 va_end(args); 236 239 } 237 240 238 241 if (level <= log_level) { 242 va_start(args, format); 243 239 244 fprintf(screen_stream, "[%s]%s: ", log_prefix, level_name); 240 245 vfprintf(screen_stream, format, args); 241 246 fflush(screen_stream); 247 248 va_end(args); 242 249 } 243 250 244 251 fibril_mutex_unlock(&log_serializer); 245 246 va_end(args);247 252 } 248 253
Note:
See TracChangeset
for help on using the changeset viewer.