1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/usr.sbin/ctm/ctm_rmail/error.h
Kris Kennaway dde222577d * fix ctm(8) to use mkstemp() instead of tempnam() for tempfile
creation.

* Tag the internal err() function with __printflike to allow checking
  for non-constant format string arguments (none exist)

* Use fmtcheck() to sanitize the tar command obtained via -t to make
  sure it doesn't contain extraneous format operators.

Reviewed by:    mikeh
MFC after:      1 week
2001-05-06 03:03:45 +00:00

6 lines
155 B
C

/* $FreeBSD$ */
extern void err_set_log(char *log_file);
extern void err_prog_name(char *name);
extern void err(const char *fmt, ...) __printflike(1, 2);