ieee1394: forgotten dereference...

Going through the string and waiting for _pointer_ to become '\0'
is not what the authors meant...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Ben Collins <ben.collins@ubuntu.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Al Viro and committed by
Linus Torvalds
51ec138c 0e81c666

+1 -1
+1 -1
drivers/ieee1394/nodemgr.c
··· 283 283 memcpy(buf, \ 284 284 CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA(class->td_kv), \ 285 285 len); \ 286 - while ((buf + len - 1) == '\0') \ 286 + while (buf[len - 1] == '\0') \ 287 287 len--; \ 288 288 buf[len++] = '\n'; \ 289 289 buf[len] = '\0'; \