Pointed out by Wolfgang Solfrank:
Correct parameters of sync
This commit is contained in:
parent
f707f734a6
commit
a728f398c2
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.26 1994/01/20 17:21:28 davidg Exp $
|
||||
* $Id: machdep.c,v 1.27 1994/01/20 17:49:57 davidg Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
|
@ -548,7 +548,7 @@ boot(arghowto)
|
|||
*/
|
||||
if (panicstr == 0)
|
||||
vnode_pager_umount(NULL);
|
||||
sync((struct sigcontext *)0);
|
||||
sync(curproc, NULL, NULL);
|
||||
/*
|
||||
* Unmount filesystems
|
||||
*/
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.26 1994/01/20 17:21:28 davidg Exp $
|
||||
* $Id: machdep.c,v 1.27 1994/01/20 17:49:57 davidg Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
|
@ -548,7 +548,7 @@ boot(arghowto)
|
|||
*/
|
||||
if (panicstr == 0)
|
||||
vnode_pager_umount(NULL);
|
||||
sync((struct sigcontext *)0);
|
||||
sync(curproc, NULL, NULL);
|
||||
/*
|
||||
* Unmount filesystems
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue