Ignore:
Timestamp:
09/29/13 01:58:04 (11 years ago)
Author:
atzm
Message:

change /proc/ksyslog/queue format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ksyslog/trunk/ksyslog.c

    r232 r233  
    384384        const struct ksyslog_entry *entry = list_entry_rcu(v, struct ksyslog_entry, list); 
    385385 
    386         seq_printf(seq, "%llu %u.%u.%u.%u %.*s\n", 
     386        seq_printf(seq, "%llu %s.%s %u.%u.%u.%u %.*s\n", 
    387387                   timeval_to_ns(&entry->tv) / 1000 / 1000 / 1000, 
     388                   ksyslog_facility_str(entry->facility), 
     389                   ksyslog_severity_str(entry->severity), 
    388390                   entry->saddr.addr8[0], entry->saddr.addr8[1], 
    389391                   entry->saddr.addr8[2], entry->saddr.addr8[3], 
Note: See TracChangeset for help on using the changeset viewer.