From 4f7c969e27a7de71301724707b1db1d7ab3f0956 Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Fri, 24 Jul 2015 12:25:23 -0700 Subject: style: change Process function calls to use camelCase The Process class methods were using an improper style and this subsequently bled into the system call code. The following regular expressions should be helpful if someone transitions private system call patches on top of these changesets: s/alloc_fd/allocFD/ s/sim_fd(/simFD(/ s/sim_fd_obj/getFDEntry/ s/fix_file_offsets/fixFileOffsets/ s/find_file_offsets/findFileOffsets/ --- src/kern/tru64/tru64.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kern') diff --git a/src/kern/tru64/tru64.hh b/src/kern/tru64/tru64.hh index d2261eaa0..0f1e7f881 100644 --- a/src/kern/tru64/tru64.hh +++ b/src/kern/tru64/tru64.hh @@ -438,7 +438,7 @@ class Tru64 : public OperatingSystem panic("getdirent not implemented on cygwin!"); #else int index = 0; - int fd = process->sim_fd(process->getSyscallArg(tc, index)); + int fd = process->getSimFD(process->getSyscallArg(tc, index)); Addr tgt_buf = process->getSyscallArg(tc, index); int tgt_nbytes = process->getSyscallArg(tc, index); Addr tgt_basep = process->getSyscallArg(tc, index); -- cgit v1.2.3