From adc513481a6c07a06b3a9cbd6c74884346562a78 Mon Sep 17 00:00:00 2001 From: mjacob Date: Thu, 17 Jan 2002 02:14:44 +0000 Subject: pid is 'long' on alpha. --- sys/ddb/db_command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/ddb') 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); -- cgit v1.1