]> git.ozlabs.org Git - ccan/blobdiff - ccan/noerr/test/run.c
ccan/noerr: fix compiler warning with const strings.
[ccan] / ccan / noerr / test / run.c
index 503ba81c52fe74e3f48b2a40d54bb9288e9b9d71..d5d48584952abfcd82401a7bd45e16ca9fc0af22 100644 (file)
@@ -9,7 +9,7 @@
 
 int main(int argc, char *argv[])
 {
-       char *name = "noerr.file";
+       const char *name = "noerr.file";
        int fd;
        FILE *fp;