mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:36: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
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ namespace System_
|
||||||
|
|
||||||
void OsSupport::delayExecution(long value)
|
void OsSupport::delayExecution(long value)
|
||||||
{
|
{
|
||||||
sleep( (clock_t)value * CLOCKS_PER_SEC );
|
sleep( value );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -717,7 +717,7 @@ namespace Sysreg_
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
char buffer[128];
|
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;
|
cerr << "Error: pid file w/o pid!!! " << endl;
|
||||||
cleanup();
|
cleanup();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue