Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common Add missing bracket arround macro ar...



details:   https://anonhg.NetBSD.org/src/rev/cbab468756a9
branches:  trunk
changeset: 526784:cbab468756a9
user:      tron <tron%NetBSD.org@localhost>
date:      Fri May 10 17:27:23 2002 +0000

description:
Add missing bracket arround macro argument reference.

diffstat:

 sys/compat/linux/common/linux_dirent.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fc599da6c7b7 -r cbab468756a9 sys/compat/linux/common/linux_dirent.h
--- a/sys/compat/linux/common/linux_dirent.h    Fri May 10 15:28:45 2002 +0000
+++ b/sys/compat/linux/common/linux_dirent.h    Fri May 10 17:27:23 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_dirent.h,v 1.7 2002/04/10 18:19:34 christos Exp $        */
+/*     $NetBSD: linux_dirent.h,v 1.8 2002/05/10 17:27:23 tron Exp $    */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
 };
 
 
-#define LINUX_NAMEOFF(dp)       ((char *)&(dp)->d_name - (char *)dp)
+#define LINUX_NAMEOFF(dp)       ((char *)&(dp)->d_name - (char *)(dp))
 #define LINUX_RECLEN(de,namlen) ALIGN((LINUX_NAMEOFF(de) + (namlen) + 1))
 
 #endif /* !_LINUX_DIRENT_H */



Home | Main Index | Thread Index | Old Index