summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-private.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-07-14 00:32:47 +0200
committerKay Sievers <kay@vrfy.org>2012-07-14 00:33:59 +0200
commitc6eefe366470e1cf6c94f52dd923dc822eb5d027 (patch)
tree119a52b2b185274f6890acc9d4f89de8a6b4b54d /src/libudev/libudev-private.h
parent95694951a0905dd748c6902268b15e3a56632da2 (diff)
udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=n
Diffstat (limited to 'src/libudev/libudev-private.h')
-rw-r--r--src/libudev/libudev-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h
index 4eb4a598e0..bc58424636 100644
--- a/src/libudev/libudev-private.h
+++ b/src/libudev/libudev-private.h
@@ -173,4 +173,5 @@ int util_resolve_subsys_kernel(struct udev *udev, const char *string,
char *result, size_t maxsize, int read_value);
unsigned long long ts_usec(const struct timespec *ts);
unsigned long long now_usec(void);
+ssize_t print_kmsg(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
#endif