minor cleanup in check_reuse_initrd
Subsystems (2)
PATCH 1/1 minor cleanup in check_reuse_initrd
Signed-off-by Michael Neuling <[email protected]>
---
We are probably full of this stuff but...
kexec/kexec.c | 3 +++ 1 file changed, 3 insertions(+)
kexec/kexec.c +3 -0
@@ -788,6 +788,9 @@ void check_reuse_initrd(void)if (strstr (line,"retain_initrd" ) ==NULL )die ("unrecoverable error: current boot didn't " "retain the initrd for reuse.\n" ); +if (line) +free (line); +close (fp); }/* Arch hook for reuse_initrd */
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Horms
AppliedQuoted 3 lines · Michael Neuling
Signed-off-by Michael Neuling <[email protected]>---
We are probably full of this stuff but...
A small step in the right direction :-)
Applied.
Signature · 9 lines
Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/ _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec