kernel: fix #0/brk/ qid (it's a special directory, not a special file)

This commit is contained in:
2017-01-09 00:44:01 +01:00
parent 01562d4ddb
commit 51d12f1f34
3 changed files with 5 additions and 3 deletions

View File

@ -23,7 +23,7 @@ main(void)
{
long b, b1;
b = create("#0/brk", -1, 16*1024*1024);
b = create("#0/brk/set", -1, 16*1024*1024);
if(b >= 0){
print("FAIL: create returned fd %d.\n", b);
exits("FAIL");