aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/ppc/emul_netbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/emul_netbsd.c b/sim/ppc/emul_netbsd.c
index 322b584..a8bfd27 100644
--- a/sim/ppc/emul_netbsd.c
+++ b/sim/ppc/emul_netbsd.c
@@ -879,7 +879,7 @@ do_fstat(os_emul_data *emul,
{
int fd = cpu_registers(processor)->gpr[arg0];
unsigned_word stat_buf_addr = cpu_registers(processor)->gpr[arg0+1];
- struct stat buf;
+ struct stat buf = {};
int status;
#ifdef SYS_fstat
SYS(fstat);