diff options
author | Dima Dorfman <dd@FreeBSD.org> | 2001-07-02 00:18:04 +0000 |
---|---|---|
committer | Dima Dorfman <dd@FreeBSD.org> | 2001-07-02 00:18:04 +0000 |
commit | 13704ca508967d083346df8d9ed32bdfa51bf38c (patch) | |
tree | eb3e6d3ae80fce772bbe283df44e815263d1b83f /usr.sbin/sysinstall/ftp.c | |
parent | 0c2e00bb8f535911955ff05eba0d1aba3e0cd72c (diff) | |
download | src-13704ca508967d083346df8d9ed32bdfa51bf38c.tar.gz src-13704ca508967d083346df8d9ed32bdfa51bf38c.zip |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/ftp.c')
-rw-r--r-- | usr.sbin/sysinstall/ftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/ftp.c b/usr.sbin/sysinstall/ftp.c index 2541230536a7..14fd74ba13ea 100644 --- a/usr.sbin/sysinstall/ftp.c +++ b/usr.sbin/sysinstall/ftp.c @@ -60,7 +60,7 @@ netUp(Device *dev) Device *netdev = (Device *)dev->private; if (netdev) - return netdev->init(netdev); + return DEVICE_INIT(netdev); else return TRUE; /* No net == happy net */ } @@ -72,7 +72,7 @@ netDown(Device *dev) Device *netdev = (Device *)dev->private; if (netdev) - netdev->shutdown(netdev); + DEVICE_SHUTDOWN(netdev); } Boolean @@ -228,8 +228,8 @@ mediaGetFTP(Device *dev, char *file, Boolean probe) if (ftperr != 421) /* Timeout? */ variable_unset(VAR_FTP_PATH); /* If we can't re-initialize, just forget it */ - dev->shutdown(dev); - if (!dev->init(dev)) { + DEVICE_SHUTDOWN(dev); + if (!DEVICE_INIT(dev)) { netDown(dev); if (OpenConn) { fclose(OpenConn); |