venus-include-afs-com_err-20070201
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 1 Feb 2007 13:23:45 +0000 (13:23 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 1 Feb 2007 13:23:45 +0000 (13:23 +0000)
FIXES 51424

include afs/com_err.h for error_message() prototype to prevent crashes
on platforms with 64-bit pointers and 32-bit int

src/venus/cmdebug.c
src/venus/dedebug.c
src/venus/fs.c
src/venus/livesys.c
src/venus/twiddle.c

index 55637bb..806e77e 100644 (file)
@@ -42,6 +42,7 @@ RCSID
 #include <lock.h>
 #include <afs/afs_args.h>
 #include <afs/afsutil.h>
+#include <afs/com_err.h>
 
 extern struct hostent *hostutil_GetHostByName();
 
index 18a14ec..a0204fd 100644 (file)
@@ -23,6 +23,7 @@ RCSID("$Header$");
 #endif
 #include <afs/afscbint.h>
 #include <afs/cmd.h>
+#include <afs/com_err.h>
 #include <rx/rx.h>
 #include <lock.h>
 
index 9a215b4..349d108 100644 (file)
@@ -25,6 +25,7 @@ RCSID
 #include <afs/stds.h>
 #include <afs/vice.h>
 #include <afs/venus.h>
+#include <afs/com_err.h>
 #ifdef AFS_AIX32_ENV
 #include <signal.h>
 #endif
index fe2b1e4..ba09900 100644 (file)
@@ -32,6 +32,7 @@ RCSID
 #include <afs/stds.h>
 #include <afs/vice.h>
 #include <afs/venus.h>
+#include <afs/com_err.h>
 #ifdef AFS_AIX32_ENV
 #include <signal.h>
 #endif
index 95fd737..dcaaf75 100644 (file)
@@ -36,7 +36,7 @@ RCSID
 #include <afs/cellconfig.h>
 #include <afs/cmd.h>
 #include <strings.h>
-
+#include <afs/com_err.h>
 
 #define        MAXSIZE 2048
 #define MAXINSIZE 1300         /* pioctl complains if data is larger than this */