summaryrefslogtreecommitdiff
path: root/app/fvwm/modules
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-24 13:34:55 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-24 13:34:55 +0000
commitd9e3a91c1a12b4bdfc743f260e6b1d7b5f467283 (patch)
tree83bb0cdaeece932075697b372889a9dd07ffbaa6 /app/fvwm/modules
parent445e21ebb5f33420b5b719690604603d86ac7443 (diff)
sprintf() -> snprintf()
Diffstat (limited to 'app/fvwm/modules')
-rw-r--r--app/fvwm/modules/FvwmAuto/FvwmAuto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/fvwm/modules/FvwmAuto/FvwmAuto.c b/app/fvwm/modules/FvwmAuto/FvwmAuto.c
index b26dfcb69..8548b07ec 100644
--- a/app/fvwm/modules/FvwmAuto/FvwmAuto.c
+++ b/app/fvwm/modules/FvwmAuto/FvwmAuto.c
@@ -116,7 +116,7 @@ int main(int argc, char **argv)
#endif
fd_width = GetFdWidth();
- sprintf(mask_mesg,"SET_MASK %lu\n",(unsigned long)(M_FOCUS_CHANGE));
+ snprintf(mask_mesg, sizeof(mask_mesg), "SET_MASK %lu\n",(unsigned long)(M_FOCUS_CHANGE));
SendInfo(fd,mask_mesg,0);
while(1)