doc: aliasing-test: close fd on write error
authorJesper Juhl <jj@chaosbits.net>
Tue, 7 Aug 2012 22:07:03 +0000 (00:07 +0200)
committerJiri Kosina <jkosina@suse.cz>
Sat, 1 Sep 2012 16:57:10 +0000 (09:57 -0700)
commit5ffd27fa8d7950a3c2136100860273e6ff2605e0
treecb45fc1d98d907dbadbded6553cf483b55af18e3
parent7122bbb0d14b7a6031aeef046b45d4934cb94ba7
doc: aliasing-test: close fd on write error

If write fails, remember to close(fd) before returning.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/ia64/aliasing-test.c