On Sat, 3 Jun 2017 14:33:59 -0700 Andy Grover <agrover@xxxxxxxxxx> wrote: > Using a newer version of gcc, we see an error: > > tgtd.c:313:14: error: comparison between pointer and zero character > constant [-Werror=pointer-compare] > while (pos != '\0') > ^~ > tgtd.c:313:10: note: did you mean to dereference the pointer? > while (pos != '\0') > ^ > I think gcc is right, so deref pos. > > Signed-off-by: Andy Grover <agrover@xxxxxxxxxx> > --- > usr/tgtd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Looks good, applied. Thanks! -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html