git: sys/dev/disk/dm: Return EINVAL on invalid argc

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Oct 31 09:52:25 PDT 2015


commit d3ed03d8d05e955a4f6e2e4e2f05edeb8f2d1236
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Oct 30 21:34:10 2015 +0900

    sys/dev/disk/dm: Return EINVAL on invalid argc
    
    but not ENOMEM.
    Other targets return EINVAL for this and there shouldn't be
    any reason not to do so for dm-crypt.

Summary of changes:
 sys/dev/disk/dm/targets/crypt/dm_target_crypt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d3ed03d8d05e955a4f6e2e4e2f05edeb8f2d1236


-- 
DragonFly BSD source repository



More information about the Commits mailing list