*/
#include "h/mh.h"
+#include "m_name.h"
#include "seq_save.h"
#include "m_backup.h"
#include "ext_hook.h"
}
} else {
/* or rename messages with standard prefix */
- strncpy (buf, m_backup (dp), sizeof(buf));
+ strncpy (buf, m_backup (dp), sizeof(buf) - 1);
if (rename (dp, buf) == -1) {
admonish (buf, "unable to rename %s to", dp);
retval = -1;