Page MenuHomeFreeBSD

D42580.1795987489.diff
No OneTemporary

Authored By
Unknown
Size
516 B
Referenced Files
None
Subscribers
None

D42580.1795987489.diff

diff --git a/usr.sbin/makefs/cd9660.c b/usr.sbin/makefs/cd9660.c
--- a/usr.sbin/makefs/cd9660.c
+++ b/usr.sbin/makefs/cd9660.c
@@ -1508,10 +1508,10 @@
TAILQ_INSERT_HEAD(&pt_head, n, ptq);
/* Breadth-first traversal of file structure */
- while (pt_head.tqh_first != 0) {
- n = pt_head.tqh_first;
+ while (!TAILQ_EMPTY(&pt_head)) {
+ n = TAILQ_FIRST(&pt_head);
dirNode = n->node;
- TAILQ_REMOVE(&pt_head, pt_head.tqh_first, ptq);
+ TAILQ_REMOVE(&pt_head, n, ptq);
free(n);
/* Update the size */

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 29, 9:24 PM (19 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42096741
Default Alt Text
D42580.1795987489.diff (516 B)

Event Timeline