Fix missing “%z[dux]” prefix printf formatter string for `size_t`
types.
Change-Id: If216a778b0b65e8ab2cdd1c7484cb8452d1f965d
m.m_lsys_krn_sys_getinfo.val_len = sizeof(mon_params);
m.m_lsys_krn_sys_getinfo.val_ptr = (vir_bytes)mon_params;
if ((s=_kernel_call(SYS_GETINFO, &m)) != OK) {
- printf("SYS_GETINFO: %d (size %u)\n", s, sizeof(mon_params));
+ printf("SYS_GETINFO: %d (size %zu)\n", s, sizeof(mon_params));
return(s);
}
}
#if DEBUG
- printf("VTREEFS: allocated %d+%d+%d bytes\n",
+ printf("VTREEFS: allocated %zu+%zu+%zu bytes\n",
nr_inodes * sizeof(inode[0]),
nr_inodes * sizeof(parent_name_head[0]),
nr_inodes * sizeof(parent_index_head[0]));