]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-insert.c
CLI: make static message strings const
[notmuch] / notmuch-insert.c
index 00c0046873f50cc788717ebb86ef6a10314bf70a..e3d87e4aed184af827b35e0e5276ff9b6cdc3f4d 100644 (file)
@@ -34,7 +34,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