diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-20 22:57:26 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-20 22:57:26 -0400 |
commit | 83295ee74070aad3973cdcd8e57d85ad44efc3ce (patch) | |
tree | c260b6c4051fd4498b57fe6d1bdb0906cf3d6b99 /sys/include | |
parent | 197bdf24748b03eff9710998b9023376a40971e7 (diff) |
kernel: Require len in vcons_putstr()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/dev/vcons/vcons.h | 2 |
1 files changed, 1 insertions, 1 deletions
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_ */ |