Fix: use printk_once() for wrapper warning messages
[lttng-modules.git] / wrapper / splice.c
index 357e1ac5a84560dca04613ab718ca76a535d2032..d24ef3d68593010e677c4ffc5b1a115de29c7a36 100644 (file)
@@ -41,7 +41,7 @@ ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,
        if (splice_to_pipe_sym) {
                return splice_to_pipe_sym(pipe, spd);
        } else {
-               printk(KERN_WARNING "LTTng: splice_to_pipe symbol lookup failed.\n");
+               printk_once(KERN_WARNING "LTTng: splice_to_pipe symbol lookup failed.\n");
                return -ENOSYS;
        }
 }
This page took 0.023658 seconds and 4 git commands to generate.