[mythtv-commits] Ticket #11187: Fix the check for a failed call to mmap

MythTV noreply at mythtv.org
Sun Oct 21 10:36:35 UTC 2012


#11187: Fix the check for a failed call to mmap
------------------------+-----------------------------------------
 Reporter:  mythtv@…    |           Type:  Patch - Bug Fix
   Status:  new         |       Priority:  minor
Milestone:              |      Component:  Plugin - MythZoneminder
  Version:  0.26-fixes  |       Severity:  low
 Keywords:              |  Ticket locked:  0
------------------------+-----------------------------------------
 The attached patch uses the correct error return value from mmap(), it
 should be MAP_FAILED not NULL.

 Also adds some debugging to make it clear why we failed to open the mmap
 file.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11187>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list