267981508a
- merge parts of pkg/SECURITY into pkg/MESSAGE - fix license marker feedback and ok ajacoutot@
13 lines
474 B
Plaintext
13 lines
474 B
Plaintext
$OpenBSD: patch-src_gts_c,v 1.2 2008/08/25 15:14:43 jasper Exp $
|
|
--- src/gts.c.orig Sun Dec 28 09:12:38 2003
|
|
+++ src/gts.c Fri Aug 22 20:32:04 2008
|
|
@@ -456,7 +456,7 @@ void list_gts_content(void)
|
|
if(mapped_gts[i].slot_status==0) /* empty slot */
|
|
continue;
|
|
|
|
- sprintf(tmp,"%lu|%lu",mapped_gts[i].id,mapped_gts[i].next_try);
|
|
+ snprintf(tmp, sizeof(tmp), "%lu|%lu",mapped_gts[i].id,mapped_gts[i].next_try);
|
|
disp_msg(CMD_KB,NULL,tmp,mapped_gts[i].cmd,NULL);
|
|
}
|
|
|