Swap args to deviceGet(). Whoops!

This commit is contained in:
Jordan K. Hubbard 1995-05-26 10:34:44 +00:00
parent ad98a5f52b
commit f284246288
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: dist.c,v 1.21 1995/05/26 08:41:39 jkh Exp $
* $Id: dist.c,v 1.22 1995/05/26 10:20:44 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -236,7 +236,7 @@ distExtract(char *parent, Distribution *me)
char dparent[FILENAME_MAX];
snprintf(dparent, FILENAME_MAX, "%s/", parent ? parent : me[i].my_name);
fd = (*mediaDevice->get)(dparent, me[i].my_name);
fd = (*mediaDevice->get)(me[i].my_name, dparent);
if (fd != -1) {
status = mediaExtractDist(me[i].my_name, me[i].my_dir, fd);
if (mediaDevice->close)

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: dist.c,v 1.21 1995/05/26 08:41:39 jkh Exp $
* $Id: dist.c,v 1.22 1995/05/26 10:20:44 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -236,7 +236,7 @@ distExtract(char *parent, Distribution *me)
char dparent[FILENAME_MAX];
snprintf(dparent, FILENAME_MAX, "%s/", parent ? parent : me[i].my_name);
fd = (*mediaDevice->get)(dparent, me[i].my_name);
fd = (*mediaDevice->get)(me[i].my_name, dparent);
if (fd != -1) {
status = mediaExtractDist(me[i].my_name, me[i].my_dir, fd);
if (mediaDevice->close)