summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 1e9ca5d9..d0a6f81c 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -1588,7 +1588,7 @@ def expand_package_list(version_fmt, pkgs):
return pkglist
-def get_mount_info(path, log):
+def get_mount_info(path, log=LOG):
# Use /proc/$$/mountinfo to find the device where path is mounted.
# This is done because with a btrfs filesystem using os.stat(path)
# does not return the ID of the device.