]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-tag.c
CLI: make static message strings const
[notmuch] / notmuch-tag.c
index 667a75d6b960c3b2cc27b75d08753a813badc037..de428c8e9d99b902701a296a577cba87cb00c99c 100644 (file)
@@ -27,7 +27,7 @@ static volatile sig_atomic_t interrupted;
 static void
 handle_sigint (unused (int sig))
 {
-    static char msg[] = "Stopping...         \n";
+    static const char msg[] = "Stopping...         \n";
 
     /* This write is "opportunistic", so it's okay to ignore the
      * result.  It is not required for correctness, and if it does