Skip to content

Commit f7a6843

Browse files
committed
fix mistakes in previous
1 parent 86973f0 commit f7a6843

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

external/mpl/bind/dist/lib/dns/qp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: qp.c,v 1.3 2025/01/27 02:16:05 christos Exp $ */
1+
/* $NetBSD: qp.c,v 1.4 2025/01/27 15:40:36 christos Exp $ */
22

33
/*
44
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -68,7 +68,7 @@ static atomic_uint_fast64_t compact_time;
6868
static atomic_uint_fast64_t recycle_time;
6969
static atomic_uint_fast64_t rollback_time;
7070
#define ISC_QP_ADD(v, a) atomic_fetch_add_relaxed(&(v), (a))
71-
#define ISC_QP_GET(v) atomic_load_relaxed(v)
71+
#define ISC_QP_GET(v) atomic_load_relaxed(&(v))
7272
#else
7373
static uint64_t compact_time;
7474
static uint64_t recycle_time;

external/mpl/bind/dist/lib/dns/zone.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: zone.c,v 1.22 2025/01/27 02:16:05 christos Exp $ */
1+
/* $NetBSD: zone.c,v 1.23 2025/01/27 15:40:36 christos Exp $ */
22

33
/*
44
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -533,7 +533,7 @@ struct dns_zone {
533533
#ifdef _LP64
534534
#define ISC_ZONE_GET(z, f) atomic_load_relaxed(&(z)->f)
535535
#define ISC_ZONE_SET(z, f, o) atomic_fetch_or(&(z)->f, (o))
536-
#define DNS_ZONE_CLR(z, f, o) atomic_fetch_and(&(z)->f, ~(o))
536+
#define ISC_ZONE_CLR(z, f, o) atomic_fetch_and(&(z)->f, ~(o))
537537
#else
538538
#define ISC_ZONE_GET(z, f) \
539539
({ \

0 commit comments

Comments
 (0)