summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mount.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-09-24 22:39:09 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-09-24 22:39:09 +0000
commit4b8c59a17adef232c3e1997b47876e7df72bbce3 (patch)
treeb87056ba9d270f0d95616bd4f0a24371a0e372ac /mdk-stage1/mount.c
parent3d99ff7c4a2157502ddeea460cba71bca7ddd061 (diff)
downloaddrakx-backup-do-not-use-4b8c59a17adef232c3e1997b47876e7df72bbce3.tar
drakx-backup-do-not-use-4b8c59a17adef232c3e1997b47876e7df72bbce3.tar.gz
drakx-backup-do-not-use-4b8c59a17adef232c3e1997b47876e7df72bbce3.tar.bz2
drakx-backup-do-not-use-4b8c59a17adef232c3e1997b47876e7df72bbce3.tar.xz
drakx-backup-do-not-use-4b8c59a17adef232c3e1997b47876e7df72bbce3.zip
hd.img now detects partition types... backport from DrakX :-)
Diffstat (limited to 'mdk-stage1/mount.c')
-rw-r--r--mdk-stage1/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index b41604cfe..257638421 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -34,7 +34,7 @@
#ifndef DISABLE_MEDIAS
/* WARNING: this won't work if the argument is not /dev/ based */
-static int ensure_dev_exists(char *dev)
+int ensure_dev_exists(char *dev)
{
int major, minor;
int type = S_IFBLK; /* my default type is block. don't forget to change for chars */