diff --git a/usr.bin/truss/amd64-fbsd32.c b/usr.bin/truss/amd64-fbsd32.c index ed98a5b85937..7f049a64c6e7 100644 --- a/usr.bin/truss/amd64-fbsd32.c +++ b/usr.bin/truss/amd64-fbsd32.c @@ -118,7 +118,7 @@ i386_syscall_entry(struct trussinfo *trussinfo, int nargs) { int syscall_num; int i; unsigned int parm_offset; - struct syscall *sc; + struct syscall *sc = NULL; if (fd == -1 || trussinfo->pid != cpid) { sprintf(buf, "/proc/%d/regs", trussinfo->pid); diff --git a/usr.bin/truss/i386-fbsd.c b/usr.bin/truss/i386-fbsd.c index ed98a5b85937..7f049a64c6e7 100644 --- a/usr.bin/truss/i386-fbsd.c +++ b/usr.bin/truss/i386-fbsd.c @@ -118,7 +118,7 @@ i386_syscall_entry(struct trussinfo *trussinfo, int nargs) { int syscall_num; int i; unsigned int parm_offset; - struct syscall *sc; + struct syscall *sc = NULL; if (fd == -1 || trussinfo->pid != cpid) { sprintf(buf, "/proc/%d/regs", trussinfo->pid);