sync with mit plan 9 version
This commit is contained in:
parent
33433b3fde
commit
27d2809820
28 changed files with 456 additions and 371 deletions
|
|
@ -112,7 +112,7 @@ threadmain(int argc, char *argv[])
|
|||
argc--;
|
||||
argv++;
|
||||
|
||||
part = initpart(file, ORDWR|ODIRECT);
|
||||
part = initpart(file, (fix ? ORDWR : OREAD)|ODIRECT);
|
||||
if(part == nil)
|
||||
sysfatal("can't open partition %s: %r", file);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue