diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index f5b10517d7a8..dbe2dd6d815c 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_inode.c,v 1.79 2005/12/11 12:25:25 christos Exp $ */ +/* $NetBSD: ffs_inode.c,v 1.80 2006/03/18 13:56:51 bouyer Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ffs_inode.c,v 1.79 2005/12/11 12:25:25 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_inode.c,v 1.80 2006/03/18 13:56:51 bouyer Exp $"); #if defined(_KERNEL_OPT) #include "opt_ffs.h" @@ -651,7 +651,7 @@ ffs_itimes(struct inode *ip, const struct timespec *acc, if (ip->i_flag & IN_ACCESS) { if (acc == NULL) - acc = ts == NULL ? (ts = nanotime(&tsb)) : ts; + acc = ts = nanotime(&tsb); DIP_ASSIGN(ip, atime, acc->tv_sec); DIP_ASSIGN(ip, atimensec, acc->tv_nsec); }