summaryrefslogtreecommitdiff
path: root/fs/partitions/atari.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/partitions/atari.c')
-rw-r--r--fs/partitions/atari.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/partitions/atari.c b/fs/partitions/atari.c
index 192a6adfdef..1f3572d5b75 100644
--- a/fs/partitions/atari.c
+++ b/fs/partitions/atari.c
@@ -88,7 +88,7 @@ int atari_partition(struct parsed_partitions *state, struct block_device *bdev)
if (!xrs) {
printk (" block %ld read failed\n", partsect);
put_dev_sector(sect);
- return 0;
+ return -1;
}
/* ++roman: sanity check: bit 0 of flg field must be set */