Skip to content

Commit

Permalink
Avoiding the nice bytes representation (#26)
Browse files Browse the repository at this point in the history
Fixes #25, This was broken since libzfs 0.8, by the `literal` argument in the call to zpool_get_propetry function.
  • Loading branch information
prometherion authored and fkasumovic committed Dec 19, 2019
1 parent f0994c7 commit a21bc23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zpool.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ property_list_ptr read_zpool_property(zpool_list_ptr pool, int prop) {
property_list_ptr list = new_property_list();

r = zpool_get_prop(pool->zph, prop,
list->value, INT_MAX_VALUE, &source, B_FALSE);
list->value, INT_MAX_VALUE, &source, B_TRUE);
if (r == 0) {
// strcpy(list->name, zpool_prop_to_name(prop));
zprop_source_tostr(list->source, source);
Expand Down

0 comments on commit a21bc23

Please sign in to comment.