diff options
| author | 2015-11-26 19:03:10 +0000 | |
|---|---|---|
| committer | 2015-11-26 19:03:10 +0000 | |
| commit | 123b50946e11a616fd7d09540b18b58cc56f9d3b (patch) | |
| tree | d38dd6efdc000a149a47f1d3721c701b892f6b26 /usr.sbin/installboot/sparc64_installboot.c | |
| parent | Delete YP password related code. As a result, these can also be (diff) | |
| download | wireguard-openbsd-123b50946e11a616fd7d09540b18b58cc56f9d3b.tar.xz wireguard-openbsd-123b50946e11a616fd7d09540b18b58cc56f9d3b.zip | |
Apply pledge.
The people I asked to review this did not get back to me, so
we will test this a different way.
Diffstat (limited to 'usr.sbin/installboot/sparc64_installboot.c')
| -rw-r--r-- | usr.sbin/installboot/sparc64_installboot.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/installboot/sparc64_installboot.c b/usr.sbin/installboot/sparc64_installboot.c index f68eec070f7..85f37e1f370 100644 --- a/usr.sbin/installboot/sparc64_installboot.c +++ b/usr.sbin/installboot/sparc64_installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sparc64_installboot.c,v 1.4 2015/10/08 14:50:38 krw Exp $ */ +/* $OpenBSD: sparc64_installboot.c,v 1.5 2015/11/26 19:03:10 deraadt Exp $ */ /* * Copyright (c) 2012, 2013 Joel Sing <jsing@openbsd.org> @@ -92,8 +92,7 @@ md_loadboot(void) void md_installboot(int devfd, char *dev) { - /* XXX - is this necessary? */ - sync(); + fsync(devfd); bootldr = fileprefix(root, bootldr); if (bootldr == NULL) |
