Home
last modified time | relevance | path

Searched refs:ofio2 (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/usr.sbin/eeprom/
H A Dofhandlers.c212 struct ofiocdesc ofio1, ofio2; in of_dump() local
229 ofio1.of_nodeid = ofio2.of_nodeid = optnode; in of_dump()
234 ofio2.of_name = buf3; in of_dump()
235 ofio2.of_buf = buf4; in of_dump()
264 strcpy(ofio2.of_name, ofio1.of_buf); /* XXX strcpy is safe */ in of_dump()
265 ofio2.of_namelen = strlen(ofio2.of_name); in of_dump()
267 if (ofio2.of_namelen == 0) { in of_dump()
272 memset(ofio2.of_buf, 0, sizeof(buf4)); in of_dump()
273 ofio2.of_buflen = sizeof(buf4); in of_dump()
275 if (ioctl(fd, OFIOCGET, (char *)&ofio2) < 0) in of_dump()
[all …]