Replace wrong "set" by correct "seek" in error message.
Signed-off-by: Philipp Hahn <[email protected]>
---
src/util/storage_file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/storage_file.c b/src/util/storage_file.c
index 4faa99d..62dad0d 100644
--- a/src/util/storage_file.c
+++ b/src/util/storage_file.c
@@ -824,7 +824,7 @@ virStorageFileGetMetadataFromFD(const char *path,
memset(meta, 0, sizeof (*meta));
if (lseek(fd, 0, SEEK_SET) == (off_t)-1) {
- virReportSystemError(errno, _("cannot set to start of '%s'"), path);
+ virReportSystemError(errno, _("cannot seek to start of '%s'"), path);
goto cleanup;
}
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list