]> err.no Git - util-linux/commit
hwclock: fix mismatched popen/fclose.
authorJohn Keeping <john.keeping@lineone.net>
Mon, 25 May 2009 11:24:46 +0000 (12:24 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 27 May 2009 20:59:25 +0000 (22:59 +0200)
commit49c0c23d9d90041caab41ca5ea84ac2e014c2ed8
tree5e2672bcd4732942fe22fc1ee6439557d22ab9b1
parent75f1b7c2f8926918f5a29cf55e5c8faf6ed637b8
hwclock: fix mismatched popen/fclose.

date_child_fp is opened by popen, so should be closed with pclose.

Signed-off-by: John Keeping <john.keeping@lineone.net>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
hwclock/hwclock.c