Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-03-31 04:45:16 +0300
committerAndrei Vagin <avagin@gmail.com>2022-04-29 03:53:52 +0300
commit0194ed392ffe4e936dca031fbecafa417d218eec (patch)
tree20f2af19767720a9576d469cb572bc6cdd9f4451 /lib
parent3f180047783486c003609328af584b060d3c545c (diff)
Fix some codespell warnings
Brought to you by codespell -w (using codespell v2.1.0). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/c/criu.h2
-rw-r--r--lib/py/images/images.py2
-rw-r--r--lib/py/images/pb2dict.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/c/criu.h b/lib/c/criu.h
index 40e3106fc..7cc6a199c 100644
--- a/lib/c/criu.h
+++ b/lib/c/criu.h
@@ -187,7 +187,7 @@ int criu_dump_iters(int (*more)(criu_predump_info pi));
* As this library is just forwarding all tasks to an
* independent (of this library) CRIU binary, the actual
* version of the CRIU binary can be different then the
- * hardcoded values in the libary (version.h).
+ * hardcoded values in the library (version.h).
* To be able to easily check the version of the CRIU binary
* the function criu_get_version() returns the version
* in the following format:
diff --git a/lib/py/images/images.py b/lib/py/images/images.py
index 300b1cc69..eda030a5c 100644
--- a/lib/py/images/images.py
+++ b/lib/py/images/images.py
@@ -87,7 +87,7 @@ class entry_handler:
def load(self, f, pretty=False, no_payload=False):
"""
Convert criu image entries from binary format to dict(json).
- Takes a file-like object and returnes a list with entries in
+ Takes a file-like object and returns a list with entries in
dict(json) format.
"""
entries = []
diff --git a/lib/py/images/pb2dict.py b/lib/py/images/pb2dict.py
index cfaff6c7d..9d581c375 100644
--- a/lib/py/images/pb2dict.py
+++ b/lib/py/images/pb2dict.py
@@ -23,7 +23,7 @@ if "encodebytes" not in dir(base64):
# here are some of them:
# - both have a common bug in treating optional field with empty
# repeated inside.
-# - protobuf-to-json is not avalible in pip or in any other python
+# - protobuf-to-json is not available in pip or in any other python
# repo, so it is hard to distribute and we can't rely on it.
# - both do not treat enums in a way we would like to. They convert
# protobuf enum to int, but we need a string here, because it is