summaryrefslogtreecommitdiffstats
path: root/bin/sh/jobs.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-01-21 10:06:04 +0000
committertjr <tjr@FreeBSD.org>2003-01-21 10:06:04 +0000
commit81914313b70a23af07be326b0267a51d6c980563 (patch)
treebf1f262f2aa112a905a60705905c99bfa6fb5aca /bin/sh/jobs.c
parentedd5efa7354254cc83ee86d83403f0eff8458f6a (diff)
downloadFreeBSD-src-81914313b70a23af07be326b0267a51d6c980563.zip
FreeBSD-src-81914313b70a23af07be326b0267a51d6c980563.tar.gz
Make this compile with DEBUG defined now that WARNS=0 has been removed
from the Makefile: - Print pointers with %p instead of %x. - Include missing headers to get prototypes. Noticed by: benno
Diffstat (limited to 'bin/sh/jobs.c')
-rw-r--r--bin/sh/jobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index 129f372..cdd921b 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -982,7 +982,7 @@ dowait(int block, struct job *job)
showjob(thisjob, pid, 0, 0);
}
} else {
- TRACE(("Not printing status, rootshell=%d, job=0x%x\n", rootshell, job));
+ TRACE(("Not printing status, rootshell=%d, job=%p\n", rootshell, job));
if (thisjob)
thisjob->changed = 1;
}
OpenPOWER on IntegriCloud