Changes in uspace/srv/klog/klog.c [3385dd3:8820544] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/klog/klog.c

    r3385dd3 r8820544  
    5353#define NAME       "klog"
    5454
    55 typedef size_t __attribute__ ((aligned(1))) unaligned_size_t;
    56 
    5755typedef struct {
    5856        size_t entry_len;
     
    111109        size_t offset = 0;
    112110        while (offset < len) {
    113                 size_t entry_len = *((unaligned_size_t *) (buffer + offset));
     111                size_t entry_len = *((size_t *) (buffer + offset));
    114112               
    115113                if (offset + entry_len > len || entry_len < sizeof(log_entry_t))
Note: See TracChangeset for help on using the changeset viewer.