]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-venus-include-afs-com_err-20070201
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 1 Feb 2007 13:25:33 +0000 (13:25 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 1 Feb 2007 13:25:33 +0000 (13:25 +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

(cherry picked from commit 564d41d96e224132d5073170d0f82e0264315077)

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

index 55637bb21f9e01bc706bc16123e139a30041036c..806e77ee6f435d4ce4bfba54f4d9783b3c4bab9f 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 18a14ec42828ad2b913c386a5849e4bddb62833b..a0204fdc7585abb077d513bf32da23f27d3eb186 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 a17c984f551960483d59d64165400eba544d8bfa..2acafb6e5824d5f4145d82084f67b1b118f9a928 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 fe2b1e4d522409e8d9afe260c58ef46af099d5c7..ba09900b1e999e65155b0888bd2e6612f760ab0d 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 95fd7371f41e4c19cc7819dc5d6efc9a2a3258f1..dcaaf759f7da21ff4357fe0b65abbe5c7382b485 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 */