]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
cmdmon: use char for permissions table
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 24 Sep 2014 14:58:16 +0000 (16:58 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 25 Sep 2014 08:58:57 +0000 (10:58 +0200)
cmdmon.c

index 7cfab0fe0fd690ed6e5d2ae59501b4cfd2d2674c..a58bb6dd71c39735803fde5675b6df7b55d2dccd 100644 (file)
--- a/cmdmon.c
+++ b/cmdmon.c
@@ -110,7 +110,7 @@ static ResponseCell *free_replies;
 /* ================================================== */
 /* Array of permission levels for command types */
 
-static int permissions[] = {
+static const char permissions[] = {
   PERMIT_OPEN, /* NULL */
   PERMIT_AUTH, /* ONLINE */
   PERMIT_AUTH, /* OFFLINE */