mirror of
https://github.com/clearlinux/graphene.git
synced 2026-08-21 13:18:07 +00:00
aa9ded3c42
Current implementation incorrectly uses `_SC_ULONG_MAX` to check the max ulong (instead of ULONG_MAX). This patch addresses the issue. Note: `_SC_ULONG_MAX` is intended to be used with sysconf() to inquire about the maximum value which can be stored in a variable of type `unsigned long` and is defined to 117. Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>