Date: Sat, 4 Feb 2006 17:01:00 GMT From: Olivier Houchard <cognet@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91080 for review Message-ID: <200602041701.k14H10ec034648@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91080 Change 91080 by cognet@cognet on 2006/02/04 17:00:11 getopt() returns an int, so use that instead of a signed char. Spotted out by: mux Affected files ... .. //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#4 edit .. //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#10 edit .. //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#13 edit .. //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#9 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#4 (text+ko) ==== @@ -30,7 +30,7 @@ * * @APPLE_BSD_LICENSE_HEADER_END@ * - * $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#3 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#4 $ */ /* * Program to trigger the audit daemon with a message that is either: @@ -65,7 +65,7 @@ int main(int argc, char **argv) { - signed char ch; + int ch; unsigned int trigger = 0; if (argc != 2) ==== //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#10 (text+ko) ==== @@ -30,7 +30,7 @@ * * @APPLE_BSD_LICENSE_HEADER_END@ * - * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#9 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#10 $ */ #include <sys/dirent.h> @@ -708,7 +708,7 @@ int main(int argc, char **argv) { - signed char ch; + int ch; int debug = 0; int rc; ==== //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#13 (text+ko) ==== @@ -26,7 +26,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#12 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#13 $ */ /* @@ -529,7 +529,7 @@ FILE *fp; int i; char *objval, *converr; - signed char ch; + int ch; char timestr[128]; char *fname; ==== //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#9 (text+ko) ==== @@ -26,7 +26,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#8 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#9 $ */ /* @@ -105,7 +105,7 @@ int main(int argc, char **argv) { - signed char ch; + int ch; int i; FILE *fp;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602041701.k14H10ec034648>