diff options
| author | David Lamparter <equinox@diac24.net> | 2019-05-14 16:27:30 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-06-03 18:57:28 +0200 | 
| commit | 807f5b98424bc52ae9f0dc249fe14becfff9bf89 (patch) | |
| tree | aa0c2dcbd273c9e6325133009453fdc5cd9db987 /lib/vty.h | |
| parent | bf4d3d80219777e2bc8597f6543203abf49825ee (diff) | |
lib: use printfrr for log & vty
This makes printfrr extensions available in most of our format strings.
snprintf() is the obvious exception.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/vty.h')
| -rw-r--r-- | lib/vty.h | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -313,8 +313,8 @@ extern void vty_time_print(struct vty *, int);  extern void vty_serv_sock(const char *, unsigned short, const char *);  extern void vty_close(struct vty *);  extern char *vty_get_cwd(void); -extern void vty_log(const char *level, const char *proto, const char *fmt, -		    struct timestamp_control *, va_list); +extern void vty_log(const char *level, const char *proto, const char *msg, +		    struct timestamp_control *);  extern int vty_config_enter(struct vty *vty, bool private_config,  			    bool exclusive);  extern void vty_config_exit(struct vty *);  | 
