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

[libvirt] [PATCH 1/2] Fix spelling mistake: seek



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

Signed-off-by: Philipp Hahn <hahn univention de>
---
 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;
     }
 

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