Cleanup: Improve const correctness
[hmcfgusb] / hmland.c
index 38e4d6baa499a03536a5bfd95ac0c25bbc1dcbe1..380c99a02c2a16fa2c328fd5807d3757cd8665f8 100644 (file)
--- a/hmland.c
+++ b/hmland.c
@@ -100,7 +100,7 @@ static void print_timestamp(FILE *f)
        fprintf(f, "%s.%06ld: ", ts, tv.tv_usec);
 }
 
-static void write_log(char *buf, int len, char *fmt, ...)
+static void write_log(const char *buf, int len, const char *fmt, ...)
 {
        va_list ap;
        int i;
Impressum, Datenschutz