File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ int main(void)
1515 if (!ret ) {
1616 // There was an error. We can get more information about an error from WinAPI code using GetLastError()
1717 DWORD mountError = GetLastError ();
18- debugPrint ("Failed to mount C: drive! Reason : %x\n" , mountError );
18+ debugPrint ("Failed to mount C: drive! Error code : %x\n" , mountError );
1919 goto sleepForever ;
2020 }
2121
@@ -30,7 +30,7 @@ int main(void)
3030 DWORD findFileError ;
3131 if (hFind == INVALID_HANDLE_VALUE ) {
3232 findFileError = GetLastError ();
33- debugPrint ("FindFirstHandle() failed! Reason : %x\n" , findFileError );
33+ debugPrint ("FindFirstHandle() failed! Error code : %x\n" , findFileError );
3434 goto cleanup ;
3535 }
3636
@@ -59,7 +59,7 @@ int main(void)
5959 // If there was an error while unmounting
6060 if (!ret ) {
6161 DWORD unmountError = GetLastError ();
62- debugPrint ("Couldn't unmount C: drive! Reason : %x" , unmountError );
62+ debugPrint ("Couldn't unmount C: drive! Error code : %x" , unmountError );
6363 }
6464sleepForever :
6565 while (1 ) {
You can’t perform that action at this time.
0 commit comments