shithub: riscv

Download patch

ref: ce00c68059d50ccaeb87fb85b03d60c5d0889456
parent: fd9560d7d83afe6507e1fe12972ff7336dd09a4a
author: cinap_lenrek <[email protected]>
date: Mon Mar 28 19:01:54 EDT 2016

kernel: print pid as %lud instead %lux (in tsleep() debug print)

--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -851,7 +851,7 @@
 tsleep(Rendez *r, int (*fn)(void*), void *arg, ulong ms)
 {
 	if(up->tt != nil){
-		print("%s %lux: tsleep timer active: mode %d, tf %#p, pc %#p\n",
+		print("%s %lud: tsleep timer active: mode %d, tf %#p, pc %#p\n",
 			up->text, up->pid, up->tmode, up->tf, getcallerpc(&r));
 		timerdel(up);
 	}