]> git.itanic.dy.fi Git - rrdd/blobdiff - network_parser.c
network_parser: Use pr_* debug macros instead of printf
[rrdd] / network_parser.c
index 7e2b95e8bf0ab3cd4d8f90e13932207399638726..89941b46dfa3a4cd08b63cf8afafb6b520a6b860 100644 (file)
@@ -200,7 +200,7 @@ static int network_multi_parser(char ***rrd_data, const char **parser_data,
 
        data->fd = socket(AF_INET, SOCK_STREAM, 0);
        if (data->fd == -1) {
-               printf("Failed to create socket: %m\n");
+               pr_err("Failed to create socket: %m\n");
                return -1;
        }