swaponoff: fix compile-time warning
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 18 Dec 2015 18:02:31 +0000 (19:02 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 18 Dec 2015 18:02:31 +0000 (19:02 +0100)
commit6c634f7968032ab2b8b7daf528990ac15809f7eb
tree779be60a90eaadd6d064f370f8eac87943e36ae2
parent2c0d3f5fd08ccc6963c402030efcbe8a2c028f2d
swaponoff: fix compile-time warning

  CC      util-linux/swaponoff.o
cc1: warnings being treated as errors
util-linux/swaponoff.c: In function 'swap_enable_disable':
util-linux/swaponoff.c:100: warning: passing argument 1 of 'resolve_mount_spec' from incompatible pointer type
make[1]: *** [util-linux/swaponoff.o] Error 1

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/swaponoff.c