diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-01-17 13:12:15 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-01-18 17:50:34 +0100 |
commit | fa42df756940a959a5cccee38394b1a81d5619da (patch) | |
tree | afb30e9e60037ff449a6ec53ba8da2e1de334296 /include | |
parent | 0d59b1db8349f449b2cc7854bb1d8382ecd1b893 (diff) | |
download | mariadb-git-fa42df756940a959a5cccee38394b1a81d5619da.tar.gz |
compiler warning: my_printf_error() supports printf format extensions
Diffstat (limited to 'include')
-rw-r--r-- | include/my_sys.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index cd74fdf427b..7b229bb52b0 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -641,9 +641,7 @@ extern int my_sync(File fd, myf my_flags); extern int my_sync_dir(const char *dir_name, myf my_flags); extern int my_sync_dir_by_file(const char *file_name, myf my_flags); extern void my_error(int nr,myf MyFlags, ...); -extern void my_printf_error(uint my_err, const char *format, - myf MyFlags, ...) - ATTRIBUTE_FORMAT(printf, 2, 4); +extern void my_printf_error(uint my_err, const char *format, myf MyFlags, ...); extern void my_printv_error(uint error, const char *format, myf MyFlags, va_list ap); extern int my_error_register(const char** (*get_errmsgs) (), |