git: idr: Fix idr_get_new() and idr_get_new_above() return values

Francois Tigeot ftigeot at crater.dragonflybsd.org
Fri Oct 25 00:08:24 PDT 2013


commit 04876a762d2b2dd147134c6f19855a242beab2fe
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Fri Oct 25 08:47:53 2013 +0200

    idr: Fix idr_get_new() and idr_get_new_above() return values
    
    These functions are supposed to return -EAGAIN and not EAGAIN when
    no more descriptors are available.

Summary of changes:
 share/man/man9/idr.9 | 4 ++--
 sys/libkern/idr.c    | 7 +++----
 2 files changed, 5 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/04876a762d2b2dd147134c6f19855a242beab2fe


-- 
DragonFly BSD source repository



More information about the Commits mailing list