Changes in uspace/app/trace/trace.c [a3b339b4:5930e3f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/trace.c
ra3b339b4 r5930e3f 565 565 static int cev_fibril(void *arg) 566 566 { 567 cons_event_t event; 568 567 569 (void) arg; 568 570 … … 575 577 fibril_mutex_unlock(&state_lock); 576 578 577 if (!console_get_ kbd_event(console, &cev))579 if (!console_get_event(console, &event)) 578 580 return -1; 579 581 580 fibril_mutex_lock(&state_lock); 581 cev_valid = true; 582 fibril_condvar_broadcast(&state_cv); 583 fibril_mutex_unlock(&state_lock); 582 if (event.type == CEV_KEY) { 583 fibril_mutex_lock(&state_lock); 584 cev = event.ev.key; 585 cev_valid = true; 586 fibril_condvar_broadcast(&state_cv); 587 fibril_mutex_unlock(&state_lock); 588 } 584 589 } 585 590 } … … 719 724 o = oper_new("stat", 0, arg_def, V_ERRNO, 0, resp_def); 720 725 proto_add_oper(p, VFS_IN_STAT, o); 726 o = oper_new("statfs", 0, arg_def, V_ERRNO, 0, resp_def); 727 proto_add_oper(p, VFS_IN_STATFS, o); 721 728 722 729 proto_register(SERVICE_VFS, p);
Note:
See TracChangeset
for help on using the changeset viewer.