Clean up assertion
[openafs.git] / src / util / softsig.c
index e0e6480..79eb6dd 100644 (file)
@@ -14,8 +14,8 @@
 #include <afs/procmgmt.h> /* Must be before roken.h */
 
 #include <roken.h>
+#include <afs/opr.h>
 
-#include <assert.h>
 #include <pthread.h>
 
 #include "pthread_nosigs.h"
@@ -117,7 +117,7 @@ softsig_init(void)
     AFS_SIGSET_DECL;
     AFS_SIGSET_CLEAR();
     rc = pthread_create(&softsig_tid, NULL, &softsig_thread, NULL);
-    assert(0 == rc);
+    opr_Assert(0 == rc);
     AFS_SIGSET_RESTORE();
     signal (SIGUSR1, softsig_usr1);
 }