From bd3b018fd31ee6b9421dd8284baeb5ec62737ac8 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 20 Feb 2014 19:42:15 -0800 Subject: [PATCH] Use expected zpool_status_t type Both the zpool_import_status() and zpool_get_status() functions return the zpool_status_t enum. This explicit type should be used rather than the more generic int type. This patch makes no functional change and should only be considered code cleanup. It happens to have been done in the context of #2094 because that's when I noticed this issue. Signed-off-by: Brian Behlendorf Signed-off-by: Tim Chase Signed-off-by: Richard Yao