diff options
Diffstat (limited to 'atasmart.c')
-rw-r--r-- | atasmart.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1917,7 +1917,7 @@ int sk_disk_open(const char *name, SkDisk **_d) { goto fail; } - if ((d->fd = open(name, O_RDWR|O_NOCTTY)) < 0) { + if ((d->fd = open(name, O_RDONLY|O_NOCTTY)) < 0) { ret = d->fd; goto fail; } |