bectl(8): Use strcmp, rather than trying to directly compare
This commit is contained in:
parent
2f561e90ad
commit
5f44e1ca35
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user