syscall_emul: minor style fix to LiveProcess constructor
authorSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 22 Oct 2014 22:53:34 +0000 (15:53 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 22 Oct 2014 22:53:34 +0000 (15:53 -0700)
src/sim/process.cc

index 15dc8c3e8ff9e7963e1b21d66f6f23315f74fdea..d1fb22029565dbd75b22b417f73a0bdda6784e41 100644 (file)
@@ -566,17 +566,14 @@ Process::map(Addr vaddr, Addr paddr, int size)
 ////////////////////////////////////////////////////////////////////////
 
 
-LiveProcess::LiveProcess(LiveProcessParams * params, ObjectFile *_objFile)
+LiveProcess::LiveProcess(LiveProcessParams *params, ObjectFile *_objFile)
     : Process(params), objFile(_objFile),
       argv(params->cmd), envp(params->env), cwd(params->cwd),
+      __uid(params->uid), __euid(params->euid),
+      __gid(params->gid), __egid(params->egid),
+      __pid(params->pid), __ppid(params->ppid),
       drivers(params->drivers)
 {
-    __uid = params->uid;
-    __euid = params->euid;
-    __gid = params->gid;
-    __egid = params->egid;
-    __pid = params->pid;
-    __ppid = params->ppid;
 
     // load up symbols, if any... these may be used for debugging or
     // profiling.