diff --git a/sys/src/kern/port/sysfile.c b/sys/src/kern/port/sysfile.c index 5a2e23f..0b0f8eb 100644 --- a/sys/src/kern/port/sysfile.c +++ b/sys/src/kern/port/sysfile.c @@ -612,7 +612,7 @@ syspread(int fd, void *p, long n, int64_t off) * to read the buffer must be nil */ InvalidAddress: - pprint("trap: invalid address %#p/%ld in pread pc=%#P\n", p, n, userpc(nil)); + pprint("trap: invalid address %#p/%lld in pread pc=%#P\n", p, n, userpc(nil)); postnote(up, 1, "sys: bad address in pread", NDebug); error(Ebadarg); }