ntdb: hand correct error code when alloc_read allocation fails.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 22 Jun 2012 00:14:40 +0000 (09:44 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 22 Jun 2012 05:35:16 +0000 (07:35 +0200)
commit406bd2d121c3eeef7c3bb6bc74c7a6ccbe296c38
tree0e8e23f2f2d2f41e8f5fb9c849bbc94172b896bc
parentf7f6992c1e6ee8ac4a55c2fddf169ac695362036
ntdb: hand correct error code when alloc_read allocation fails.

-ECUTNPASTE.  This is not a usage error!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/ntdb/io.c