diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-19 18:07:12 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-19 18:07:12 +0100 |
commit | 58e6750401684c25a82c42c4edb5001a814f6d31 (patch) | |
tree | 4423ae3a6e3f19b3e88385256ef86906d11c7242 /sys/src/9/port/auth.c | |
parent | eb1dfed9abb054e4708fcb13ac6d8d537914ac77 (diff) |
kernel: remove Proc* argument from procsetuser() function
Diffstat (limited to 'sys/src/9/port/auth.c')
-rw-r--r-- | sys/src/9/port/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/port/auth.c b/sys/src/9/port/auth.c index b6b19bd63..7622b09ca 100644 --- a/sys/src/9/port/auth.c +++ b/sys/src/9/port/auth.c @@ -116,7 +116,7 @@ userwrite(char *a, int n) { if(n!=4 || strncmp(a, "none", 4)!=0) error(Eperm); - procsetuser(up, "none"); + procsetuser("none"); return n; } @@ -143,7 +143,7 @@ hostownerwrite(char *a, int n) srvrenameuser(eve, buf); shrrenameuser(eve, buf); kstrdup(&eve, buf); - procsetuser(up, buf); + procsetuser(buf); return n; } |