From 83295ee74070aad3973cdcd8e57d85ad44efc3ce Mon Sep 17 00:00:00 2001
From: Ian Moffett <ian@osmora.org>
Date: Wed, 20 Mar 2024 22:57:26 -0400
Subject: kernel: Require len in vcons_putstr()

Signed-off-by: Ian Moffett <ian@osmora.org>
---
 sys/include/dev/vcons/vcons.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sys/include')

diff --git a/sys/include/dev/vcons/vcons.h b/sys/include/dev/vcons/vcons.h
index 9deb656..801075a 100644
--- a/sys/include/dev/vcons/vcons.h
+++ b/sys/include/dev/vcons/vcons.h
@@ -67,7 +67,7 @@ struct vcons_screen {
 
 void vcons_attach(struct vcons_screen *scr);
 int vcons_putch(struct vcons_screen *scr, char c);
-int vcons_putstr(struct vcons_screen *scr, const char *s);
+int vcons_putstr(struct vcons_screen *scr, const char *s, size_t len);
 void vcons_update_cursor(struct vcons_screen *scr);
 
 #endif  /* !_DEV_VCONS_H_ */
-- 
cgit v1.2.3