Print this page
6621176 $SRC/cmd/cmd-crypto/cryptoadm/*.c seem to have syntax errors in the translation notes

@@ -1,12 +1,11 @@
 /*
  * CDDL HEADER START
  *
  * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License").  You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
  *
  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  * or http://www.opensolaris.org/os/licensing.
  * See the License for the specific language governing permissions
  * and limitations under the License.

@@ -18,16 +17,14 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
- * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <strings.h>

@@ -1191,11 +1188,11 @@
 
         (void) printf("%s:", pent->name);
 
         if (has_mechs == B_TRUE) {
                 /*
-                 * TRANSLATION_NOTE:
+                 * TRANSLATION_NOTE
                  * This code block may need to be modified a bit to avoid
                  * constructing the text message on the fly.
                  */
                 (void) printf(gettext(" all mechanisms are enabled"));
                 if (ptr != NULL)

@@ -1209,11 +1206,11 @@
                 if (ptr == NULL)
                         (void) printf(".");
         }
 
         /*
-         * TRANSLATION_NOTE:
+         * TRANSLATION_NOTE
          * "random" is a keyword and not to be translated.
          */
         if (rnd_disabled)
                 (void) printf(gettext(" %s is disabled."), "random");
         else if (has_random)