diff options
Diffstat (limited to 'util/nvmutil/nvmutil.c')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index da7c426c..6b7be3df 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -1716,8 +1716,8 @@ static int io_args(int fd, size_t nrw, off_t off, int rw_type) { - if (off > 0 - && off != GBE_PART_SIZE) + if (off != 0 + && off != gbe_file_offset(1, "i/o check")) goto err_io_args; if (nrw != GBE_PART_SIZE && |
