aboutsummaryrefslogtreecommitdiff
path: root/src/err.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-18 23:47:49 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-10-18 23:57:30 +0300
commit01022a35bfed28d33de9b8930068db41e487bb15 (patch)
treea33cbc2c5287346f5748d57cc02dacddb9f42dc3 /src/err.h
parent1a11eccc579d75f4db62fce3e2ab8b709c60da51 (diff)
downloadvmod-binlog-01022a35bfed28d33de9b8930068db41e487bb15.tar.gz
vmod-binlog-01022a35bfed28d33de9b8930068db41e487bb15.tar.bz2
Minor improvement.
* src/err.h (error,packerror): Mark as printflike. * doc/binlogsel.1: Update.
Diffstat (limited to 'src/err.h')
-rw-r--r--src/err.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/err.h b/src/err.h
index aab01be..a5c1b68 100644
--- a/src/err.h
+++ b/src/err.h
@@ -17,6 +17,8 @@
extern const char *progname;
void setprogname(const char *);
-void error(const char *fmt, ...);
-void packerror(const char *fmt, ...);
+void error(const char *fmt, ...)
+ __attribute__ ((__format__ (__printf__, 1, 2)));
+void packerror(const char *fmt, ...)
+ __attribute__ ((__format__ (__printf__, 1, 2)));
void version(void);

Return to:

Send suggestions and report system problems to the System administrator.