summaryrefslogtreecommitdiff
path: root/release/sysinstall/devices.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-05-23 02:41:18 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-05-23 02:41:18 +0000
commit7ccad8a96ac9dfd823c31913c2ed67ea486c9202 (patch)
tree1be6c68d1b91dc89c4abcef6f02b842e08f96593 /release/sysinstall/devices.c
parent424e4f7c42735dea82dac9385d7901950e12b207 (diff)
Notes
Diffstat (limited to 'release/sysinstall/devices.c')
-rw-r--r--release/sysinstall/devices.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c
index d39cae2c8b4f..a1c501c0692e 100644
--- a/release/sysinstall/devices.c
+++ b/release/sysinstall/devices.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: devices.c,v 1.26 1995/05/21 15:40:46 jkh Exp $
+ * $Id: devices.c,v 1.27 1995/05/21 18:24:32 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -236,7 +236,7 @@ deviceGetAll(void)
if (fd >= 0) {
close(fd);
/* The only network devices that have fds associated are serial ones */
- deviceRegister("ppp0", device_names[i].description, strdup(try),
+ deviceRegister(device_names[i].name, device_names[i].description, strdup(try),
DEVICE_TYPE_NETWORK, TRUE, mediaInitNetwork, NULL, mediaCloseNetwork, NULL);
msgDebug("Found a device of type network named: %s\n", device_names[i].name);
}