diff options
author | robi <robi> | 2012-02-21 21:49:19 +0000 |
---|---|---|
committer | robi <robi> | 2012-02-21 21:49:19 +0000 |
commit | d9a3f42e92c7dec119319f0a1a890d10fc4e32ea (patch) | |
tree | c33915ec53b27f9afd4b2ac73f2c13878eb97419 | |
parent | 63b9cc693a89373283405ff3496312ba04892485 (diff) |
compiler warning
-rw-r--r-- | src/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal.c b/src/journal.c index dd1724f..2a0acb5 100644 --- a/src/journal.c +++ b/src/journal.c @@ -858,7 +858,7 @@ int init_journal(void) pt = pt_buff ; pt_count = 0; if (pt_buff == NULL) { - fprintf(stderr,"Error: can't allocate %lu Memory\n",maxlen * sizeof(journal_descriptor_tag_t)); + fprintf(stderr,"Error: can't allocate %u Memory\n",maxlen * sizeof(journal_descriptor_tag_t)); goto errout; } ptl = (__u32*)(pt_buff + (maxlen * sizeof(journal_descriptor_tag_t))); |