Replace outdated setpag() with k_setpag()
authorJacob Welsh <jwelsh@sinenomine.net>
Tue, 29 Oct 2013 22:22:31 +0000 (18:22 -0400)
committerJacob Welsh <jwelsh@sinenomine.net>
Tue, 29 Oct 2013 22:22:31 +0000 (18:22 -0400)
Makefile.am
mod_waklog.c

index 9a91c86..f02c706 100644 (file)
@@ -3,7 +3,7 @@ all: mod_waklog.so
 APXS = @APXS@
 INCLUDES = -I@KRB5_INC@ -I@AFS_INC@ -I@APACHE_INC@ -I@APR_INC@
 LIB = -L@AFS_LIBS@ -L@KRB5_LIBS@ -L@APACHE_LIBS@ -lkrb5 -lk5crypto  \
-       -lafsauthent -lafsrpc
+       -lafsauthent -lafsrpc -lkopenafs
 
 APXSCC = `${APXS} -q CC` \
          @WAKLOG_DEBUG@ \
index 2418fde..40fe123 100644 (file)
@@ -70,6 +70,7 @@ const char *userdata_key = "waklog_init";
 /**************************************************************************************************/
 
 #include <krb5.h>
+#include <kopenafs.h>
 
 #include <afs/param.h>
 
@@ -1098,7 +1099,7 @@ waklog_child_init (server_rec * s, MK_POOL * p)
   }
   
   if ( pag_for_children ) {
-    setpag ();
+    k_setpag ();
   }
 
   getModConfig (cfg, s);