summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/ufs.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-06-11 19:33:05 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-06-11 19:33:05 +0000
commit1b1ee5553889e207087539ddafa5dfd4e28bd585 (patch)
treeba998dfb4fcad03e00a5cbf58e2a0ad648bab6e6 /usr.sbin/sysinstall/ufs.c
parentb1a97daa1e06ab0de3071f979965878fd056292b (diff)
downloadFreeBSD-src-1b1ee5553889e207087539ddafa5dfd4e28bd585.zip
FreeBSD-src-1b1ee5553889e207087539ddafa5dfd4e28bd585.tar.gz
Merge RELENG_2_0_5 into HEAD
Diffstat (limited to 'usr.sbin/sysinstall/ufs.c')
-rw-r--r--usr.sbin/sysinstall/ufs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/ufs.c b/usr.sbin/sysinstall/ufs.c
index 9ad4a81..5f68366 100644
--- a/usr.sbin/sysinstall/ufs.c
+++ b/usr.sbin/sysinstall/ufs.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: ufs.c,v 1.3 1995/05/29 11:01:42 jkh Exp $
+ * $Id: ufs.c,v 1.4.2.2 1995/06/05 12:04:09 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -50,13 +50,13 @@
/* No init or shutdown routines necessary - all done in mediaSetUFS() */
int
-mediaGetUFS(char *file)
+mediaGetUFS(Device *dev, char *file, Attribs *dist_attrs)
{
char buf[PATH_MAX];
- snprintf(buf, PATH_MAX, "%s/%s", (char *)mediaDevice->private, file);
+ snprintf(buf, PATH_MAX, "%s/%s", dev->private, file);
if (!access(buf, R_OK))
return open(buf, O_RDONLY);
- snprintf(buf, PATH_MAX, "%s/dists/%s", (char *)mediaDevice->private, file);
+ snprintf(buf, PATH_MAX, "%s/dists/%s", dev->private, file);
return open(buf, O_RDONLY);
}
OpenPOWER on IntegriCloud