diff --git a/sys/src/libauth/auth_attr.c b/sys/src/libauth/auth_attr.c index 8842590a9..2acc32f79 100644 --- a/sys/src/libauth/auth_attr.c +++ b/sys/src/libauth/auth_attr.c @@ -1,7 +1,6 @@ #include #include #include -#include #include "authlocal.h" Attr* diff --git a/sys/src/libauth/auth_challenge.c b/sys/src/libauth/auth_challenge.c index 298f5f1b2..d21841a05 100644 --- a/sys/src/libauth/auth_challenge.c +++ b/sys/src/libauth/auth_challenge.c @@ -1,7 +1,6 @@ #include #include #include -#include #include "authlocal.h" Chalstate* diff --git a/sys/src/libauth/auth_proxy.c b/sys/src/libauth/auth_proxy.c index 004e57332..68987140a 100644 --- a/sys/src/libauth/auth_proxy.c +++ b/sys/src/libauth/auth_proxy.c @@ -128,8 +128,8 @@ fauth_proxy(int fd, AuthRpc *rpc, AuthGetkey *getkey, char *params) return nil; } - rerrstr(oerr, sizeof oerr); - werrstr("UNKNOWN AUTH ERROR"); + strcpy(oerr, "UNKNOWN AUTH ERROR"); + errstr(oerr, sizeof oerr); if(dorpc(rpc, "start", params, strlen(params), getkey) != ARok){ werrstr("fauth_proxy start: %r"); diff --git a/sys/src/libauth/auth_respond.c b/sys/src/libauth/auth_respond.c index 910f06b28..bc9fd2034 100644 --- a/sys/src/libauth/auth_respond.c +++ b/sys/src/libauth/auth_respond.c @@ -1,7 +1,6 @@ #include #include #include -#include #include "authlocal.h" enum {