Changeset 239 for ksyslog/trunk
- Timestamp:
- 10/01/13 00:35:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ksyslog/trunk/ksyslog.c
r238 r239 451 451 } 452 452 453 ksyslog_proc_queue = proc_create ("queue", S_IRUGO,454 ksyslog_procdir, &ksyslog_queue_fops);453 ksyslog_proc_queue = proc_create_data("queue", S_IRUGO, ksyslog_procdir, 454 &ksyslog_queue_fops, &ksyslog_queue.head); 455 455 if (ksyslog_proc_queue == NULL) { 456 456 remove_proc_entry(ksyslog_procdir->name, ksyslog_procdir->parent); 457 pr_err("proc_create failed\n");457 pr_err("proc_create_data failed\n"); 458 458 return -ENOMEM; 459 459 } 460 460 461 ksyslog_proc_queue->data = &ksyslog_queue.head;462 461 return 0; 463 462 }
Note: See TracChangeset
for help on using the changeset viewer.