summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2015-09-28 15:30:33 +0000
committerkrw <krw@openbsd.org>2015-09-28 15:30:33 +0000
commita545cc80ecd43092541da31a99aa101b4d2ddef3 (patch)
treec684532278e701208eb90839340bbd2e4c7d1ef5
parentExplicit NULL checks and style(9) tweaks. (diff)
downloadwireguard-openbsd-a545cc80ecd43092541da31a99aa101b4d2ddef3.tar.xz
wireguard-openbsd-a545cc80ecd43092541da31a99aa101b4d2ddef3.zip
Oops. sparc64/disksubr.c was overlooked when all the other disksubr.c's
got 'disk_change = 1;' to keep the DUID cache up to date in Feb. 2011. Bad krw@. ok deraadt@
-rw-r--r--sys/arch/sparc64/sparc64/disksubr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/disksubr.c b/sys/arch/sparc64/sparc64/disksubr.c
index 7a06c516386..80c72321c1f 100644
--- a/sys/arch/sparc64/sparc64/disksubr.c
+++ b/sys/arch/sparc64/sparc64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.70 2015/09/27 22:34:27 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.71 2015/09/28 15:30:33 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.13 2000/12/17 22:39:18 pk Exp $ */
/*
@@ -129,6 +129,7 @@ done:
bp->b_flags |= B_INVAL;
brelse(bp);
}
+ disk_change = 1;
return (error);
}
@@ -162,6 +163,7 @@ done:
bp->b_flags |= B_INVAL;
brelse(bp);
}
+ disk_change = 1;
return (error);
}