2ab61c64c1
inputs and ok naddy@
13 lines
485 B
Plaintext
13 lines
485 B
Plaintext
$OpenBSD: patch-src_process_c,v 1.2 2005/07/21 15:16:47 aanriot Exp $
|
|
--- src/process.c.orig Tue Feb 8 06:50:02 2005
|
|
+++ src/process.c Fri Jul 15 12:24:01 2005
|
|
@@ -414,7 +414,7 @@ for (ip = procdata; ip != NULL; ip=ip->n
|
|
|
|
if (pp->action == 'm')
|
|
{
|
|
- sprintf(saveuid,"%d",pid);
|
|
+ (void)snprintf(saveuid,sizeof(saveuid),"%d",pid);
|
|
PrependItem(killlist,saveuid,"");
|
|
}
|
|
else
|