diff options
Diffstat (limited to 'app/fvwm/libs/Module.c')
-rw-r--r-- | app/fvwm/libs/Module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/fvwm/libs/Module.c b/app/fvwm/libs/Module.c index e0a210112..aefe05551 100644 --- a/app/fvwm/libs/Module.c +++ b/app/fvwm/libs/Module.c @@ -102,7 +102,7 @@ void SetMessageMask(int *fd, unsigned long mask) { char set_mask_mesg[50]; - sprintf(set_mask_mesg,"SET_MASK %lu\n",mask); + snprintf(set_mask_mesg, sizeof(set_mask_mesg), "SET_MASK %lu\n",mask); SendText(fd,set_mask_mesg,0); } |