mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[FATTEN]
CORE-10140 svn path=/trunk/; revision=69143
This commit is contained in:
parent
85de1f5f6a
commit
c29c91001c
1 changed files with 3 additions and 2 deletions
|
@ -293,10 +293,13 @@ int main(int oargc, char* oargv[])
|
|||
if(!fread(buff, 512, 1, fe))
|
||||
{
|
||||
printf("Error: unable to read boot sector from file '%s'.", argv[0]);
|
||||
fclose(fe);
|
||||
ret = 1;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
fclose(fe);
|
||||
|
||||
NEED_MOUNT();
|
||||
|
||||
if(disk_read(0, temp, 0, 1))
|
||||
|
@ -326,8 +329,6 @@ int main(int oargc, char* oargv[])
|
|||
ret = 1;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
fclose(fe);
|
||||
}
|
||||
else if (strcmp(parg, "add") == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue