diff options
-rw-r--r-- | util/nvmutil/nvmutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index c86291c6..d8a42cd4 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -164,8 +164,7 @@ readGbeFile(int *fd, const char *path, int flags, size_t nr) if (fstat((*fd), &st) == -1) err(errno, "%s", path); if ((st.st_size != SIZE_8KB)) { - fprintf(stderr, "%s: Bad file size (must be 8KiB)\n", path); - err(errno = ECANCELED, NULL); + err(errno = ECANCELED, "File \"%s\" not of size 8KiB", path); } if (errno == ENOTDIR) |