From 87c081400692db962d317e788eeae63f1acda287 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 6 Mar 2014 12:41:07 -0800 Subject: [PATCH] fix(disk_util): Fix undefined variable introduce in 4dbdb391 --- build_library/disk_util | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_library/disk_util b/build_library/disk_util index e6c2d1f644..336b7cb10b 100755 --- a/build_library/disk_util +++ b/build_library/disk_util @@ -439,8 +439,8 @@ def ResizeExt(part, device): part: dict defining the partition device: name of the block device """ - Sudo(['e2fsck', '-p', '-f', loop_dev], stdout_null=True) - Sudo(['resize2fs', loop_dev, str(part['fs_blocks'])]) + Sudo(['e2fsck', '-p', '-f', device], stdout_null=True) + Sudo(['resize2fs', device, str(part['fs_blocks'])]) def ResizeBtrfs(part, device):