Skip to content

Commit

Permalink
lj_auditlog: remove redundant "size" field
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed May 22, 2017
1 parent 5ea4b74 commit 76be283
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lj_auditlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ static void ensure_log_open()
static void log(const char *type, void *ptr, unsigned int size)
{
ensure_log_open();
fixmap(5);
fixmap(4);
str_16("type"); /* = */ str_16("memory");
str_16("hint"); /* = */ str_16(type);
str_16("address"); /* = */ uint_64((uint64_t)ptr);
str_16("size"); /* = */ uint_64(size);
str_16("data"); /* = */ bin_32(ptr, size);
}

Expand Down

0 comments on commit 76be283

Please sign in to comment.