Swap args to deviceGet(). Whoops!
This commit is contained in:
parent
ad98a5f52b
commit
f284246288
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user