Revision 6ed0bbce

b/lib/utils.py
1772 1772
  libc.__errno_location.restype = ctypes.POINTER(ctypes.c_int)
1773 1773

  
1774 1774
  if libc.mlockall(_MCL_CURRENT | _MCL_FUTURE):
1775
    logging.error("Cannot set memory lock: %s" %
1775
    logging.error("Cannot set memory lock: %s",
1776 1776
                  os.strerror(libc.__errno_location().contents.value))
1777 1777
    return
1778 1778

  

Also available in: Unified diff