Author: cwittich
Date: Wed Sep 5 20:52:45 2007
New Revision: 28880
URL:
http://svn.reactos.org/svn/reactos?rev=28880&view=rev
Log:
fix some bugs in the linux version (not working yet)
Modified:
trunk/reactos/tools/sysreg/os_support.cpp
trunk/reactos/tools/sysreg/rosboot_test.cpp
Modified: trunk/reactos/tools/sysreg/os_support.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/os_support.cp…
==============================================================================
--- trunk/reactos/tools/sysreg/os_support.cpp (original)
+++ trunk/reactos/tools/sysreg/os_support.cpp Wed Sep 5 20:52:45 2007
@@ -126,7 +126,7 @@
void OsSupport::delayExecution(long value)
{
- sleep( (clock_t)value * CLOCKS_PER_SEC );
+ sleep( value );
}
Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_test.…
==============================================================================
--- trunk/reactos/tools/sysreg/rosboot_test.cpp (original)
+++ trunk/reactos/tools/sysreg/rosboot_test.cpp Wed Sep 5 20:52:45 2007
@@ -717,7 +717,7 @@
return false;
}
char buffer[128];
- if (!fread(buffer, sizeof(buffer), 1, file))
+ if (!fread(buffer, 1, sizeof(buffer), file))
{
cerr << "Error: pid file w/o pid!!! " << endl;
cleanup();