1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

pid is 'long' on alpha.

This commit is contained in:
Matt Jacob 2002-01-17 02:14:44 +00:00
parent 3b5465647c
commit e30e3e9e48
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89442

View File

@ -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);