Author: kevans Date: Sun Aug 12 00:09:52 2018 New Revision: 337667 URL: https://svnweb.freebsd.org/changeset/base/337667
Log: bectl(8): Use strcmp, rather than trying to directly compare Modified: head/sbin/bectl/bectl_list.c Modified: head/sbin/bectl/bectl_list.c ============================================================================== --- head/sbin/bectl/bectl_list.c Sun Aug 12 00:08:14 2018 (r337666) +++ head/sbin/bectl/bectl_list.c Sun Aug 12 00:09:52 2018 (r337667) @@ -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"); } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"