# This patch is fix for the Bug-22995977
# It is developed By solaris PSIF team. We plan to have a common upstream repo
# and submit these changes to it, but do not yet have a target date of doing it.
diff -r fb74c9cd6bdb src/uverbs.c
--- a/src/uverbs.c Fri Aug 05 03:12:30 2016 -0700
+++ b/src/uverbs.c Fri Aug 05 03:20:22 2016 -0700
@@ -398,7 +398,7 @@
#if defined(__SVR4) && defined(__sun)
off64_t offset = mmap_set_cmd(SIF_MAP_CQ, cq->index);
#else
off_t offset = mmap_set_cmd(SIF_MAP_CQ, cq->index);