Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/netbsd32 Don't compare an integer value against 0.



details:   https://anonhg.NetBSD.org/src/rev/7da88d5b9907
branches:  trunk
changeset: 553738:7da88d5b9907
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Oct 21 01:20:12 2003 +0000

description:
Don't compare an integer value against 0.

diffstat:

 sys/compat/netbsd32/netbsd32_fs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8a95a0a32aa1 -r 7da88d5b9907 sys/compat/netbsd32/netbsd32_fs.c
--- a/sys/compat/netbsd32/netbsd32_fs.c Tue Oct 21 01:19:10 2003 +0000
+++ b/sys/compat/netbsd32/netbsd32_fs.c Tue Oct 21 01:20:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_fs.c,v 1.14 2003/06/29 22:29:37 fvdl Exp $    */
+/*     $NetBSD: netbsd32_fs.c,v 1.15 2003/10/21 01:20:12 fvdl Exp $    */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_fs.c,v 1.14 2003/06/29 22:29:37 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_fs.c,v 1.15 2003/10/21 01:20:12 fvdl Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -419,7 +419,7 @@
        int error;
 
        VATTR_NULL(&vattr);
-       if (tptr == NULL) {
+       if (tptr == 0) {
                microtime(&tv[0]);
                tv[1] = tv[0];
                vattr.va_vaflags |= VA_UTIMES_NULL;



Home | Main Index | Thread Index | Old Index