-/*
- * 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
template[len-1] = '\0';
return template;
- } else {
- perror("malloc");
- return NULL;
}
+
+ perror("malloc");
+ return NULL;
}
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);