OSDN Git Service

Solaris: Give better error on realloc failure
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Wed, 5 Oct 2011 04:46:05 +0000 (21:46 -0700)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 15 Oct 2011 00:34:35 +0000 (17:34 -0700)
commit803bf3aa28de0f1260e479e2036159d4fead0a87
tree420099e86b78aef7f95f0e2cf63c96e44af04069
parentaf4478c52c960bee08209293aa14b784ac30dc05
Solaris: Give better error on realloc failure

commit a18460b385ae03 converted from a fixed maximum number of devices
to dynamically growing the list via realloc, but didn't update the
error message shown on failure.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
src/solx_devfs.c