From: Peter Howkins Date: Thu, 15 Jan 2015 14:18:17 +0000 (+0000) Subject: dtcm: Resolve CID 87801 X-Git-Tag: 2.2.3~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9388ef6c5b1c9eb351508e9af4fceaf1ab350e5a;p=oweals%2Fcde.git dtcm: Resolve CID 87801 --- diff --git a/cde/programs/dtcm/server/access.c b/cde/programs/dtcm/server/access.c index 89ab59d0..e90b7d88 100644 --- a/cde/programs/dtcm/server/access.c +++ b/cde/programs/dtcm/server/access.c @@ -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