blaze822: fix blaze822_file return value on error

pull/1/merge
Christian Neukirchen 8 years ago
parent b32ef0fd5a
commit 6b639da842

@ -428,7 +428,7 @@ blaze822_file(char *file)
{
int fd = open(file, O_RDONLY);
if (fd < 0)
return fd;
return 0;
struct stat st;
if (fstat(fd, &st) < 0)

Loading…
Cancel
Save