- fix a bug

svn path=/trunk/; revision=28853
This commit is contained in:
Johannes Anderwald 2007-09-04 19:41:58 +00:00
parent 301681680f
commit a04c49f61c

View file

@ -2197,9 +2197,9 @@ ProcessUnattendInf(HINF hUnattendedInf)
szPath[length] = '\\';
length++;
}
strcpy(&szPath[length], "system32\\dbgprint.exe SYSREG_CHECKPOINT:THIRDBOOT_COMPLETE\n");
strcpy(&szPath[length], "dbgprint.exe SYSREG_CHECKPOINT:THIRDBOOT_COMPLETE\n");
fwrite(szPath, 1, strlen(szPath) + 1, file);
strcpy(&szPath[length], "system32\\shutdown.exe -s");
strcpy(&szPath[length], "shutdown.exe -s");
fwrite(szPath, 1, strlen(szPath) + 1, file);
}
fclose(file);