~kris/9p

9hist

2bb2b04e91749adc71039ede55d7cf14632e9a7a — David du Colombier 26 years ago d8602a4
Plan 9 from Bell Labs 2000-07-10
1 files changed, 1 insertions(+), 1 deletions(-)

M port/auth.c
M port/auth.c => port/auth.c +1 -1
@@ 600,7 600,7 @@ userwrite(char *a, int n)
{
	if(n >= NAMELEN)
		error(Ebadarg);
	if(strcmp(a, "none") != 0)
	if(!iseve() || strcmp(a, "none") != 0)
		error(Eperm);
	memset(up->user, 0, NAMELEN);
	strcpy(up->user, "none");