From 169aba14a4766b3d15695ef27681d0f1d04f8521 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 14 Oct 2003 02:10:47 +0000 Subject: 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. --- src/lib9/werrstr.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/lib9/werrstr.c (limited to 'src/lib9/werrstr.c') 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 - -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); -} -- cgit v1.2.3