summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-06-21 11:35:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-06-21 11:35:21 +0000
commit3a46a3f7d677b29f356ba2a90bbd15a37ad0f2b8 (patch)
tree56451f767cfa868743acdf15cdeaa06f95f84f69 /sbin
parent483b78572b81ac717141510ec608e69482bea4f6 (diff)
updates according to the kernel changes.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/modload/modload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c
index 31c21f935ca..ab55ff85b83 100644
--- a/sbin/modload/modload.c
+++ b/sbin/modload/modload.c
@@ -337,9 +337,11 @@ main(argc, argv)
*/
if (post) {
struct lmc_stat sbuf;
+ char name[MAXLKMNAME] = "";
char id[16], type[16], offset[16];
sbuf.id = resrv.slot;
+ sbuf.name = name;
if (ioctl(devfd, LMSTAT, &sbuf) == -1)
err(15, "error fetching module stats for post-install");
sprintf(id, "%d", sbuf.id);