diff options
Diffstat (limited to 'term-utils/wall.c')
-rw-r--r-- | term-utils/wall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/wall.c b/term-utils/wall.c index 0291a5b60..3255a5166 100644 --- a/term-utils/wall.c +++ b/term-utils/wall.c @@ -190,7 +190,7 @@ makemsg(char *fname, size_t *mbufsize, int print_banner) line_max = sysconf(_SC_LINE_MAX); lbuf = xmalloc(line_max); - if ((fp = xfmkstemp(&tmpname)) == NULL) + if ((fp = xfmkstemp(&tmpname, NULL)) == NULL) err(EXIT_FAILURE, _("can't open temporary file")); unlink(tmpname); free(tmpname); |