]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sleep-util: mention that offset is in memory pages
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Jun 2023 08:29:50 +0000 (10:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Jun 2023 08:30:23 +0000 (10:30 +0200)
src/shared/sleep-util.h

index 0f32e7f8ae6b165599ece40d446c050983c90c66..5f8bf090f92f83fad4c84886d1d91ef770108fa1 100644 (file)
@@ -53,7 +53,7 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(SwapEntry*, swap_entry_free);
  */
 typedef struct HibernateLocation {
         dev_t devno;
-        uint64_t offset;
+        uint64_t offset; /* in memory pages */
         SwapEntry *swap;
 } HibernateLocation;