Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 1997 13:52:52 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Sean Eric Fagan <sef@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/truss setup.c
Message-ID:  <19971206135252.57858@klemm.gtn.com>
In-Reply-To: <199712060801.AAA00789@freefall.freebsd.org>; from Sean Eric Fagan on Sat, Dec 06, 1997 at 12:01:02AM -0800
References:  <199712060801.AAA00789@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
RCS file: /home/ncvs/src/usr.bin/truss/main.c,v
retrieving revision 1.1
diff -u -r1.1 main.c
--- main.c      1997/12/06 05:23:03     1.1
+++ main.c      1997/12/06 12:47:39
@@ -14,6 +14,7 @@
 #include <err.h>
 #include <signal.h>
 #include <fcntl.h>
+#include <unistd.h>
 #include <sys/ioctl.h>
 #include <sys/pioctl.h>

This fixes compile problems, optarg wasn't defined.

BTW, calling truss without arguments on the command line causes
a core dump and the shell prompt doesn't return, the session in a
xterm hangs. This should be fixed. Figure out one serial console
and the session completely hangs ...

-- 
Andreas Klemm
powered by ,,symmetric multiprocessor FreeBSD''



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971206135252.57858>