summaryrefslogtreecommitdiffstats
path: root/sys/ddb
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2002-01-17 02:14:44 +0000
committermjacob <mjacob@FreeBSD.org>2002-01-17 02:14:44 +0000
commitadc513481a6c07a06b3a9cbd6c74884346562a78 (patch)
tree559786a1069862963ffab46fb9a18f1914e57a3d /sys/ddb
parent28d7b977d4b55d938334522273e890d67100c2db (diff)
downloadFreeBSD-src-adc513481a6c07a06b3a9cbd6c74884346562a78.zip
FreeBSD-src-adc513481a6c07a06b3a9cbd6c74884346562a78.tar.gz
pid is 'long' on alpha.
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index dfbdc10..d41cf9c 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -617,11 +617,11 @@ db_kill(dummy1, dummy2, dummy3, dummy4)
break;
/* sx_sunlock(&allproc_lock); */
if (p == NULL)
- DB_ERROR(("Can't find process with pid %d\n", pid));
+ DB_ERROR(("Can't find process with pid %ld\n", (long) pid));
/* If it's already locked, bail; otherwise, do the deed. */
if (PROC_TRYLOCK(p) == 0)
- DB_ERROR(("Can't lock process with pid %d\n", pid));
+ DB_ERROR(("Can't lock process with pid %ld\n", (long) pid));
else {
psignal(p, sig);
PROC_UNLOCK(p);
OpenPOWER on IntegriCloud