diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-06-29 08:02:10 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-06-29 08:02:10 +0000 |
commit | 61df108c655f703ef246edbafc0eb302018b31e2 (patch) | |
tree | 013f041afdaafd434d13215c0fce1d4f7300f3ce /mdk-stage1/directory.c | |
parent | 76ed625f39c906ccb82f2e509c717ee573996af5 (diff) | |
download | drakx-backup-do-not-use-61df108c655f703ef246edbafc0eb302018b31e2.tar drakx-backup-do-not-use-61df108c655f703ef246edbafc0eb302018b31e2.tar.gz drakx-backup-do-not-use-61df108c655f703ef246edbafc0eb302018b31e2.tar.bz2 drakx-backup-do-not-use-61df108c655f703ef246edbafc0eb302018b31e2.tar.xz drakx-backup-do-not-use-61df108c655f703ef246edbafc0eb302018b31e2.zip |
variable declaration fixes (spotted by neofutur)
Diffstat (limited to 'mdk-stage1/directory.c')
-rw-r--r-- | mdk-stage1/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c index ac2a99937..30f3b29a5 100644 --- a/mdk-stage1/directory.c +++ b/mdk-stage1/directory.c @@ -163,6 +163,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me #ifdef MANDRAKE_MOVE if (access(IMAGE_LOCATION "/live_tree/etc/fstab", R_OK) && access(IMAGE_LOCATION "/live_tree.clp", R_OK)) { #else + char p; if (access(IMAGE_LOCATION LIVE_LOCATION, R_OK)) { #endif stg1_error_message("I can't find the " DISTRIB_NAME " Distribution in the specified directory. " @@ -173,7 +174,6 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me return RETURN_ERROR; } #ifndef MANDRAKE_MOVE - char p; if (readlink(IMAGE_LOCATION LIVE_LOCATION "/usr/bin/runinstall2", &p, 1) != 1) { stg1_error_message("The " DISTRIB_NAME " Distribution seems to be copied on a Windows partition. " "You need more memory to perform an installation from a Windows partition. " |