diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-21 17:02:16 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-21 17:02:16 +0000 |
commit | ed6d44c1e80a9a28b9fbfd3d2a65254bd72e6edd (patch) | |
tree | a1c0a3e25f9ae1f7038d98d8584e1c30c758d001 /mdk-stage1 | |
parent | c8b7f64a48d3fd4fc2e6aeec414946500d6a0f67 (diff) | |
download | drakx-ed6d44c1e80a9a28b9fbfd3d2a65254bd72e6edd.tar drakx-ed6d44c1e80a9a28b9fbfd3d2a65254bd72e6edd.tar.gz drakx-ed6d44c1e80a9a28b9fbfd3d2a65254bd72e6edd.tar.bz2 drakx-ed6d44c1e80a9a28b9fbfd3d2a65254bd72e6edd.tar.xz drakx-ed6d44c1e80a9a28b9fbfd3d2a65254bd72e6edd.zip |
fix pixel
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/lomount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/lomount.c b/mdk-stage1/lomount.c index 0d7a7e1db..77e520c41 100644 --- a/mdk-stage1/lomount.c +++ b/mdk-stage1/lomount.c @@ -79,7 +79,8 @@ set_loop (const char *device, const char *file, int gz) strncpy(loopinfo.lo_name, file, LO_NAME_SIZE); loopinfo.lo_name[LO_NAME_SIZE - 1] = 0; loopinfo.lo_offset = 0; - loopinfo.lo_encrypt_key = 13; /* LO_CRYPT_GZ */ + if (gz) + loopinfo.lo_encrypt_key = 13; /* LO_CRYPT_GZ */ #ifdef MCL_FUTURE /* |