summaryrefslogtreecommitdiffstats
path: root/src/lib9/werrstr.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-10-14 02:10:47 +0000
committerrsc <devnull@localhost>2003-10-14 02:10:47 +0000
commit169aba14a4766b3d15695ef27681d0f1d04f8521 (patch)
treecc6b42f4f9064489bc2b74a250b1f495c7882ff8 /src/lib9/werrstr.c
parent8110278003252f8579d61cd99392801a1857cdc2 (diff)
downloadplan9port-169aba14a4766b3d15695ef27681d0f1d04f8521.tar.gz
plan9port-169aba14a4766b3d15695ef27681d0f1d04f8521.zip
Move werrstr into errstr, so that if you use werrstr
you have to get this __errfmt instead of the one in libfmt that only does Unix error codes.
Diffstat (limited to 'src/lib9/werrstr.c')
-rw-r--r--src/lib9/werrstr.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib9/werrstr.c b/src/lib9/werrstr.c
deleted file mode 100644
index 7fa1f2ea..00000000
--- a/src/lib9/werrstr.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <lib9.h>
-
-void
-werrstr(char *fmt, ...)
-{
- va_list arg;
- char buf[ERRMAX];
-
- va_start(arg, fmt);
- vseprint(buf, buf+ERRMAX, fmt, arg);
- va_end(arg);
- errstr(buf, ERRMAX);
-}