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:
parent
3b5465647c
commit
e30e3e9e48
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89442
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user