Pointed out by Wolfgang Solfrank:

Correct parameters of sync
This commit is contained in:
David Greenman 1994-01-20 23:17:39 +00:00
parent f707f734a6
commit a728f398c2
2 changed files with 4 additions and 4 deletions

View File

@ -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
*/

View File

@ -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
*/