]> err.no Git - util-linux/commit
swapon: clean up gcc warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 3 Oct 2007 21:15:32 +0000 (14:15 -0700)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Oct 2007 21:39:06 +0000 (23:39 +0200)
commit03f0d3e9f5ac49f73f70b6d48e497063cfa7a472
tree31cb399f77c2cb490ca3e51f2d987ed227236901
parenta201bfdc7dd0c59a5e60718585bcdae493b3c53c
swapon: clean up gcc warnings

Fix strict gcc warnings in tailf that come from using:
  ("-Wall -Wp,-D_FORTIFY_SOURCE=2")

swapon.c:102: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result

Builds cleanly on x86_32 and x86_64.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/swapon.c