Skip to contentSkip to conversation

logical/bitor typos

PATCH New Roel Kluin 1 participant 1 message Jan 30, 2008

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 logical/bitor typos

These should be logical, correct?
--
logical/bitor typos

---

arch/sparc64/solaris/fs.c +2 -1
index 61be597..2ca724a 100644
@@ -78,7 +78,8 @@ struct sol_stat64 {
 	s32		st_pad4[4];     /* expansion area */
 };
 
-#define UFSMAGIC (((unsigned)'u'<<24)||((unsigned)'f'<<16)||((unsigned)'s'<<8))
+#define UFSMAGIC (((unsigned)'u' << 24) | ((unsigned)'f' << 16) |	\
+							((unsigned)'s' << 8))
 
 static inline int putstat(struct sol_stat __user *ubuf, struct kstat *kbuf)
 {