[OpenAFS-devel] possible typo

Neulinger, Nathan nneul@umr.edu
Tue, 10 Jul 2001 14:26:15 -0500


--- src/afs/afs_pioctl.c        2001/06/05 14:44:59     1.16
+++ src/afs/afs_pioctl.c        2001/07/05 15:20:00     1.19
@@ -199,7 +203,9 @@
 #if defined(AFS_LINUX_64BIT_KERNEL) && !defined(AFS_ALPHA_LINUX20_ENV)
        struct afs_ioctl32 dst32;
 
-#ifdef AFS_SPARC64_LINUX20_ENV
+#ifdef AFS_SPARC64_LINUX24_ENV
+        if (current->thread.flags & SPARC_FLAG_32BIT)  
+#elif AFS_SPARC64_LINUX20_ENV
        if (current->tss.flags & SPARC_FLAG_32BIT)
 #else
 #error Not done for this linux type
@@ -381,7 +387,7 @@
         caddr_t arg;



shouldn't that be #elif defined()?

unless AFS_SPARC64_LINUX20_ENV is defined to be true, it won't ever trigger.
That may be the case, but all the other tests are for the symbol being
defined, not being true.

Dunno, doesn't affect me, just happened to notice the elif.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216