summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-05-14 16:27:30 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-03 18:57:28 +0200
commit807f5b98424bc52ae9f0dc249fe14becfff9bf89 (patch)
treeaa0c2dcbd273c9e6325133009453fdc5cd9db987 /lib/vty.h
parentbf4d3d80219777e2bc8597f6543203abf49825ee (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 4847c9f189..035e758024 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -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 *);