mips: fix potential fopen(NULL,...)
commitb7438458a1f801096afe984e959855e77d22dc2e
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 4 Jan 2018 16:05:22 +0000 (4 17:05 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jan 2018 13:54:50 +0000 (16 14:54 +0100)
tree2ad86805d31cf203462b81b8c189a7b4a3f06c13
parent6b2fef739127ee6135d5ccc2da0bf1f3bebf66b7
mips: fix potential fopen(NULL,...)

Spotted thanks to ASAN.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180104160523.22995-18-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/nvram/ds1225y.c