diff options
Diffstat (limited to 'src/arch/riscv/linux/process.cc')
-rw-r--r-- | src/arch/riscv/linux/process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/riscv/linux/process.cc b/src/arch/riscv/linux/process.cc index f3f328e48..8aebd558e 100644 --- a/src/arch/riscv/linux/process.cc +++ b/src/arch/riscv/linux/process.cc @@ -96,7 +96,7 @@ unameFunc64(SyscallDesc *desc, int callnum, ThreadContext *tc) strcpy(name->sysname, "Linux"); strcpy(name->nodename,"sim.gem5.org"); - strcpy(name->release, "3.0.0"); + strcpy(name->release, process->release.c_str()); strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003"); strcpy(name->machine, "riscv64"); @@ -114,7 +114,7 @@ unameFunc32(SyscallDesc *desc, int callnum, ThreadContext *tc) strcpy(name->sysname, "Linux"); strcpy(name->nodename,"sim.gem5.org"); - strcpy(name->release, "3.0.0"); + strcpy(name->release, process->release.c_str()); strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003"); strcpy(name->machine, "riscv32"); |