diff options
Diffstat (limited to 'usr/src/uts/common/syscall/fdsync.c')
-rw-r--r-- | usr/src/uts/common/syscall/fdsync.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/uts/common/syscall/fdsync.c b/usr/src/uts/common/syscall/fdsync.c index 9951eb8727..8d8eaeab14 100644 --- a/usr/src/uts/common/syscall/fdsync.c +++ b/usr/src/uts/common/syscall/fdsync.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 1998 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -32,7 +31,7 @@ * under license from the Regents of the University of California. */ -#ident "%Z%%M% %I% %E% SMI" +#pragma ident "%Z%%M% %I% %E% SMI" #include <sys/param.h> #include <sys/isa_defs.h> @@ -65,7 +64,7 @@ fdsync(int fd, int flag) */ syncflag = flag & (FSYNC|FDSYNC); - if (error = VOP_FSYNC(fp->f_vnode, syncflag, fp->f_cred)) + if (error = VOP_FSYNC(fp->f_vnode, syncflag, fp->f_cred, NULL)) (void) set_errno(error); releasef(fd); } else |