cb388d5 Fix return error and debug message

1 file Authored by simo 11 years ago, Committed by jhrozek 11 years ago,
    Fix return error and debug message
    
    The debuf message was trying to print the number of returned entries, but no
    integer was provided.
    Return ENOENT as the error for when there are no entries, not EINVAL.
    
        
file modified
+7 -2