diff options
Diffstat (limited to 'src/arch/x86/process.cc')
-rw-r--r-- | src/arch/x86/process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index f90c764ee..09ff71f52 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -986,7 +986,7 @@ X86Process::argsInit(int pageSize, // figure out argc IntType argc = argv.size(); - IntType guestArgc = X86ISA::htog(argc); + IntType guestArgc = htole(argc); // Write out the sentry void * IntType sentry_NULL = 0; |