On Mon, 21 Jul 2014 13:55:38 +0300 Timo Teräs <timo.teras at iki.fi> wrote: > snprintf(line_buf, LINE_BUF_SIZE, > - "Mem total:%s anon:%s map:%s free:%s", > - Z[TOTAL], Z[ANON], Z[MAP], Z[MFREE]); > + "Mem total:%ul anon:%ul map:%ul free:%ul", Duh. All these should be %lu. Sending fixed patch in a minute.