]> err.no Git - util-linux/commit
script: cleanup gcc warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 16 Oct 2007 00:38:40 +0000 (17:38 -0700)
committerKarel Zak <kzak@redhat.com>
Mon, 5 Nov 2007 13:15:26 +0000 (14:15 +0100)
commit36c1d79b570699f99b7d778db421a303772438ba
tree56738d7e094e9d36883808a5e06a221c63e065f1
parent0fa7180bcd256667ff5b45c681c2694400999111
script: cleanup gcc warnings

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

script.c:239: warning: ignoring return value of 'write', declared with attribute warn_unused_result
script.c:330: warning: ignoring return value of 'write', declared with attribute warn_unused_result
script.c:331: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result

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