X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/076e0cfe3b473104b2957e4164714a594d439b7a..af56ad38ce8b8123cf048bd02fabec21ba580d15:/uip/mkstemp.c diff --git a/uip/mkstemp.c b/uip/mkstemp.c index f4215c08..b7acbb14 100644 --- a/uip/mkstemp.c +++ b/uip/mkstemp.c @@ -1,5 +1,4 @@ -/* - * mkstemp.c -- create a temporary file +/* mkstemp.c -- create a temporary file * * This code is Copyright (c) 2014 by the authors of nmh. * See the COPYRIGHT file in the root directory of the nmh @@ -16,9 +15,12 @@ #endif /* HAVE_CONFIG_H */ #include #include +#include #include #include +#include + #if ! defined HAVE_MKSTEMPS # define HAVE_MKSTEMPS 0 #endif /* ! HAVE_MKSTEMPS */ @@ -164,7 +166,7 @@ process_args(int argc, char **argv, const char **directory, ambigsw(cp, switches); done(NOTOK); case UNKWNSW: - advise (NULL, "-%s unknown", cp); + inform("-%s unknown", cp); (void) snprintf(buf, sizeof buf, "%s [switches]", invo_name); print_help(buf, switches, 1); done(NOTOK);