Skip to content

Commit

Permalink
error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thebsdbox committed Apr 30, 2018
1 parent 800afb0 commit b576535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ int allocateMemory() {
// if c is allocated then populate the memory
if(urchinMemory)
{
printf("Operating System allowed allocation of memory\n");
logInfo("Operating System allowed allocation of memory\n");
memset(urchinMemory, 1, sizeof(char) * urchinMemorySize);
return 0;
}
else
{
printf("Operatings system denied memory allocation\n");
logError("Operatings system denied memory allocation\n");
return 1;
}
}
Expand Down

0 comments on commit b576535

Please sign in to comment.