aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/command.c b/FICS/command.c
index e0efaa5..f7a2e3a 100644
--- a/FICS/command.c
+++ b/FICS/command.c
@@ -1325,7 +1325,7 @@ commands_init(void)
(void) fprintf(stderr, "FICS: %s()\n", __func__);
fp = afp = NULL;
- snprintf(fname, sizeof fname, "%s/commands", comhelp_dir);
+ msnprintf(fname, sizeof fname, "%s/commands", comhelp_dir);
if ((fd[0] = open(fname, g_open_flags[OPFL_WRITE], g_open_modes)) < 0) {
warn("%s: open: %s", __func__, fname);
@@ -1337,7 +1337,7 @@ commands_init(void)
return;
}
- snprintf(fname, sizeof fname, "%s/admin_commands", adhelp_dir);
+ msnprintf(fname, sizeof fname, "%s/admin_commands", adhelp_dir);
if ((fd[1] = open(fname, g_open_flags[OPFL_WRITE], g_open_modes)) < 0) {
warn("%s: open: %s", __func__, fname);