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

This commit is contained in:
Kyle Evans 2018-08-12 00:09:52 +00:00
parent 3b89018938
commit 9fe5b5bf13

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");
}