batman-adv: Fix use of seq_has_overflowed()
authorJoe Perches <joe@perches.com>
Sun, 22 Feb 2015 21:47:56 +0000 (13:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Feb 2015 22:00:08 +0000 (17:00 -0500)
commit92b839175064632813a7c4b7e180efde4c08c850
tree1268a6e6963ecb33afbf924a3d3c80b91960aa36
parent059a2440fd3cf4ec57735db2c0a90401cde84fca
batman-adv: Fix use of seq_has_overflowed()

net-next commit 6d91147d183c ("batman-adv: Remove uses of return value
of seq_printf") incorrectly changed the overflow occurred return from
-1 to 1.  Change it back so that the test of batadv_write_buffer_text's
return value in batadv_gw_client_seq_print_text works properly.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/gateway_client.c