[PATCH 1/2] Fix spelling mistake: seek

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Replace wrong "set" by correct "seek" in error message.

Signed-off-by: Philipp Hahn <hahn@xxxxxxxxxxxxx>
---
 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
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]