OSDN Git Service

get_partition_info(): fix the return code error path.
authorPeter Jones <pjones@redhat.com>
Wed, 18 Apr 2018 21:47:26 +0000 (17:47 -0400)
committerPeter Jones <pmjones@gmail.com>
Mon, 21 May 2018 13:27:22 +0000 (09:27 -0400)
commit32afc566d32190ab2d226807a84f343d6120236c
tree8e60b5d0048ce39c4db3259c7cbb13ed049a24c0
parent636f2b027f508e263006716cfa77f478fc946161
get_partition_info(): fix the return code error path.

Half the code thinks >= 0 is success, half the code things <= 0 is
success...

Signed-off-by: Peter Jones <pjones@redhat.com>
src/disk.c