diff options
| author | 2015-11-30 17:34:57 +0000 | |
|---|---|---|
| committer | 2015-11-30 17:34:57 +0000 | |
| commit | 68507eda2cc24accb255379e21357c63fc315e2d (patch) | |
| tree | 038e56759b9e49b9aa678747b1f4da7b56def194 /usr.sbin/installboot/sparc64_installboot.c | |
| parent | change Xrs from now-defunct db(3) to dbopen(3); this wasn;t a (diff) | |
| download | wireguard-openbsd-68507eda2cc24accb255379e21357c63fc315e2d.tar.xz wireguard-openbsd-68507eda2cc24accb255379e21357c63fc315e2d.zip | |
Revert the sync -> fsync conversion (at least for the time being) - there
is a good chance that this is causing the 'No blocks to load' errors that
various people have encountered.
Diffstat (limited to 'usr.sbin/installboot/sparc64_installboot.c')
| -rw-r--r-- | usr.sbin/installboot/sparc64_installboot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/installboot/sparc64_installboot.c b/usr.sbin/installboot/sparc64_installboot.c index 85f37e1f370..bea18878dd0 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.5 2015/11/26 19:03:10 deraadt Exp $ */ +/* $OpenBSD: sparc64_installboot.c,v 1.6 2015/11/30 17:34:57 jsing Exp $ */ /* * Copyright (c) 2012, 2013 Joel Sing <jsing@openbsd.org> @@ -92,7 +92,8 @@ md_loadboot(void) void md_installboot(int devfd, char *dev) { - fsync(devfd); + /* XXX - is this necessary? */ + sync(); bootldr = fileprefix(root, bootldr); if (bootldr == NULL) |
