PERFORCE change 91080 for review
Olivier Houchard
cognet at FreeBSD.org
Sat Feb 4 17:01:00 GMT 2006
http://perforce.freebsd.org/chv.cgi?CH=91080
Change 91080 by cognet at 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;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list