bectl(8): Use strcmp, rather than trying to directly compare

This commit is contained in:
kevans 2018-08-12 00:09:52 +00:00
parent 2f561e90ad
commit 5f44e1ca35

View File

@ -320,7 +320,7 @@ print_headers(nvlist_t *props, struct printc *pc)
* will produce quite a bit of input. Throw an extra blank line after
* the header to make it look nicer.
*/
if (chosen_be_header != HEADER_BE)
if (strcmp(chosen_be_header, HEADER_BE) != 0)
printf("\n");
}