[libvirt] [PATCH] util: fix a typo

Chen Hanxiao chen_han_xiao at 126.com
Mon Jun 20 11:52:20 UTC 2016


From: Chen Hanxiao <chenhanxiao at gmail.com>

s/succcess/success

Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
 src/util/virfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virfile.c b/src/util/virfile.c
index 9d460b9..f47bf39 100644
--- a/src/util/virfile.c
+++ b/src/util/virfile.c
@@ -406,7 +406,7 @@ int virFileLock(int fd, bool shared, off_t start, off_t len, bool waitForLock)
  * NB the lock will also be released if any open file descriptor
  * pointing to the same file as @fd is closed
  *
- * Returns 0 on succcess, or -errno on error
+ * Returns 0 on success, or -errno on error
  */
 int virFileUnlock(int fd, off_t start, off_t len)
 {
-- 
1.8.3.1





More information about the libvir-list mailing list