diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-03-28 23:01:54 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-03-28 23:01:54 +0200 |
commit | ce00c68059d50ccaeb87fb85b03d60c5d0889456 (patch) | |
tree | 375285b5093d272f5eeff6e3da890aced30eaa2e | |
parent | fd9560d7d83afe6507e1fe12972ff7336dd09a4a (diff) | |
download | plan9front-ce00c68059d50ccaeb87fb85b03d60c5d0889456.tar.xz |
kernel: print pid as %lud instead %lux (in tsleep() debug print)
-rw-r--r-- | sys/src/9/port/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c index bfe9fe778..170548977 100644 --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -851,7 +851,7 @@ void 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); } |