~kris/9p

9hist

48ea5e3ca1db2460e96a4ee52a51c479737cb0b7 — David du Colombier 36 years ago 7d3a3bf
Plan 9 from Bell Labs 1990-08-22
2 files changed, 2 insertions(+), 10 deletions(-)

M gnot/sysfile.c
M port/sysfile.c
M gnot/sysfile.c => gnot/sysfile.c +1 -5
@@ 299,11 299,7 @@ sysaccess(ulong *arg)
	Chan *c;
	long mode;

	validaddr(arg[0], 1, 0);
	c = namec((char*)arg[0], Aaccess, 0, 0);
	mode = c->mode;
	close(c);
	/* BUG: check modes */
	postnote(u->p, 1, "access is deprecated", NDebug);
	return 0;
}


M port/sysfile.c => port/sysfile.c +1 -5
@@ 299,11 299,7 @@ sysaccess(ulong *arg)
	Chan *c;
	long mode;

	validaddr(arg[0], 1, 0);
	c = namec((char*)arg[0], Aaccess, 0, 0);
	mode = c->mode;
	close(c);
	/* BUG: check modes */
	postnote(u->p, 1, "access is deprecated", NDebug);
	return 0;
}