Changeset 29648 in vbox for trunk/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c
- Timestamp:
- May 18, 2010 4:15:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c
r28800 r29648 167 167 long lTimeout = cMillies == RT_INDEFINITE_WAIT ? MAX_SCHEDULE_TIMEOUT : msecs_to_jiffies(cMillies); 168 168 #ifdef IPRT_DEBUG_SEMS 169 snprintf(current->comm, TASK_COMM_LEN, "E%lx", IPRT_DEBUG_SEMS_ADDRESS(pThis));169 snprintf(current->comm, sizeof(current->comm), "E%lx", IPRT_DEBUG_SEMS_ADDRESS(pThis)); 170 170 #endif 171 171 for (;;) … … 207 207 finish_wait(&pThis->Head, &Wait); 208 208 #ifdef IPRT_DEBUG_SEMS 209 snprintf(current->comm, TASK_COMM_LEN, "E%lx:%d", IPRT_DEBUG_SEMS_ADDRESS(pThis), rc);209 snprintf(current->comm, sizeof(current->comm), "E%lx:%d", IPRT_DEBUG_SEMS_ADDRESS(pThis), rc); 210 210 #endif 211 211 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.