projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a86a3fa
)
confused an ifdef with an if
author
Ali Saidi
<saidi@eecs.umich.edu>
Fri, 10 Feb 2006 19:59:37 +0000
(14:59 -0500)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Fri, 10 Feb 2006 19:59:37 +0000
(14:59 -0500)
--HG--
extra : convert_revision :
5b8e8bdff5813cf8846e66de2652246d77c97e88
sim/syscall_emul.hh
patch
|
blob
|
history
diff --git
a/sim/syscall_emul.hh
b/sim/syscall_emul.hh
index a10ee297c5b82d33e65a91df220d62996f05b68a..f55709575bcc2ffa73a15cde43261f87cf8a5be9 100644
(file)
--- a/
sim/syscall_emul.hh
+++ b/
sim/syscall_emul.hh
@@
-444,7
+444,7
@@
fstat64Func(SyscallDesc *desc, int callnum, Process *process,
return -EBADF;
}
-#if
def
BSD_HOST
+#if BSD_HOST
struct stat hostBuf;
int result = fstat(process->sim_fd(fd), &hostBuf);
#else
@@
-494,7
+494,7
@@
lstat64Func(SyscallDesc *desc, int callnum, Process *process,
if (xc->mem->readString(path, xc->getSyscallArg(0)) != No_Fault)
return -EFAULT;
-#if
def
BSD_HOST
+#if BSD_HOST
struct stat hostBuf;
int result = lstat(path.c_str(), &hostBuf);
#else