diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-06-02 08:48:31 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-06-02 08:48:31 -0700 |
commit | c8b9286e2184b6d936e6007f81ead3367a4870b6 (patch) | |
tree | 3a365732c0b66d0db21018e64960a04516b0a0df /sys/libn/error.c | |
parent | 80a9db5cab5544badc511fa19aadb5bbfb409c97 (diff) |
feat: started port of st to wayland
Diffstat (limited to 'sys/libn/error.c')
-rw-r--r-- | sys/libn/error.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/libn/error.c b/sys/libn/error.c index 5595457..e0bb4d2 100644 --- a/sys/libn/error.c +++ b/sys/libn/error.c @@ -15,6 +15,14 @@ errorf(byte* fmt, ...) } void +verrorf(byte* fmt, va_list args) +{ + printf("error: "); + vprintf(fmt, args); + printf("\n"); +} + +void panicf(byte* fmt, ...) { int n; |