mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 12:53:33 +00:00
fix some bugs in the linux version (not working yet)
svn path=/trunk/; revision=28880
This commit is contained in:
parent
e49226799b
commit
7e1ef16736
|
@ -126,7 +126,7 @@ namespace System_
|
|||
|
||||
void OsSupport::delayExecution(long value)
|
||||
{
|
||||
sleep( (clock_t)value * CLOCKS_PER_SEC );
|
||||
sleep( value );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -717,7 +717,7 @@ namespace Sysreg_
|
|||
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();
|
||||
|
|
Loading…
Reference in a new issue