Print this page
10131 fmtmsg is bitwise, not streetwise

@@ -26,13 +26,14 @@
  */
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*        All Rights Reserved   */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
+/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
 
-
 /*
  * fmtmsg.c
  *
  * Contains:
  *      fmtmsg          Command that writes a message in the standard

@@ -721,11 +722,11 @@
                 exit(1);
             }
 
         }
 
-        if (!c_seen & !u_seen) class = MM_NULLMC;
+        if (!c_seen && !u_seen) class = MM_NULLMC;
 
 
 
         /*
          * Severity.