]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix spelling mistake: seek
authorPhilipp Hahn <hahn@univention.de>
Thu, 24 Feb 2011 07:06:03 +0000 (08:06 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 24 Feb 2011 21:19:15 +0000 (14:19 -0700)
Replace wrong "set" by correct "seek" in error message.

Signed-off-by: Philipp Hahn <hahn@univention.de>
src/util/storage_file.c

index 4faa99d8b324111b1e0dec19909f05e78aff2a71..62dad0d8c420741d53241223435bd94cb576f632 100644 (file)
@@ -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;
     }