summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorsef <sef@FreeBSD.org>1998-10-03 18:02:03 +0000
committersef <sef@FreeBSD.org>1998-10-03 18:02:03 +0000
commit74b596d2aeff041b695e9fc1184a3762e2c6786a (patch)
treedffdc4fb35171157e1cdd2f607d5e43d1b2db1b6 /usr.bin/truss
parentebe5e8bdafd7219ae37bc16410e87fd1539d29b9 (diff)
downloadFreeBSD-src-74b596d2aeff041b695e9fc1184a3762e2c6786a.zip
FreeBSD-src-74b596d2aeff041b695e9fc1184a3762e2c6786a.tar.gz
Make it compile -Wall cleanly.
Submitted by: Alex Nash <nash@mcs.net>
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/alpha-fbsd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/truss/alpha-fbsd.c b/usr.bin/truss/alpha-fbsd.c
index ca573ff..09f7394 100644
--- a/usr.bin/truss/alpha-fbsd.c
+++ b/usr.bin/truss/alpha-fbsd.c
@@ -31,7 +31,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: alpha-fbsd.c,v 1.1 1998/10/03 00:43:05 sef Exp $";
#endif /* not lint */
/*
@@ -44,6 +44,7 @@ static const char rcsid[] =
* This file is almost nothing more than a slightly-edited i386-fbsd.c.
*/
+#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
@@ -112,7 +113,7 @@ clear_fsc() {
void
alpha_syscall_entry(int pid, int nargs) {
char buf[32];
- struct reg regs = { 0 };
+ struct reg regs = { { 0 } };
int syscall;
int i;
unsigned int parm_offset;
OpenPOWER on IntegriCloud