mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 08:03:40 +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))
|
if(!fread(buff, 512, 1, fe))
|
||||||
{
|
{
|
||||||
printf("Error: unable to read boot sector from file '%s'.", argv[0]);
|
printf("Error: unable to read boot sector from file '%s'.", argv[0]);
|
||||||
|
fclose(fe);
|
||||||
ret = 1;
|
ret = 1;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fclose(fe);
|
||||||
|
|
||||||
NEED_MOUNT();
|
NEED_MOUNT();
|
||||||
|
|
||||||
if(disk_read(0, temp, 0, 1))
|
if(disk_read(0, temp, 0, 1))
|
||||||
|
@ -326,8 +329,6 @@ int main(int oargc, char* oargv[])
|
||||||
ret = 1;
|
ret = 1;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose(fe);
|
|
||||||
}
|
}
|
||||||
else if (strcmp(parg, "add") == 0)
|
else if (strcmp(parg, "add") == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue