dtcm: Resolve CID 87801
authorPeter Howkins <flibble@users.sf.net>
Thu, 15 Jan 2015 14:18:17 +0000 (14:18 +0000)
committerPeter Howkins <flibble@users.sf.net>
Thu, 15 Jan 2015 14:18:17 +0000 (14:18 +0000)
cde/programs/dtcm/server/access.c

index 89ab59d04086d3691095ee9fb3941d54d1318cba..e90b7d885b18f3159089c11af294dd8c14f1614a 100644 (file)
@@ -342,7 +342,7 @@ _DtCmsClassToViewAccess(cms_entry *entry)
                return (CSA_VIEW_CONFIDENTIAL_ENTRIES);
        }
        
-       fprintf(stderr, "_DtCmsClassToInsertAccess: Unsupported Class %u\n", val->item.uint32_value);
+       fprintf(stderr, "_DtCmsClassToInsertAccess: Unsupported Class %lu\n", val->item.uint32_value);
        exit(EXIT_FAILURE);
 }
 
@@ -361,6 +361,9 @@ _DtCmsClassToInsertAccess(cms_entry *entry)
        case CSA_CLASS_CONFIDENTIAL:
                return (CSA_INSERT_CONFIDENTIAL_ENTRIES);
        }
+
+       fprintf(stderr, "_DtCmsClassToInsertAccess: Unsupported Class %lu\n", val->item.uint32_value);
+       exit(EXIT_FAILURE);
 }
 
 extern uint