X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/85dc2ffc4c376b5e06a0ef5060de566afedcc659..refs/heads/nov/multiuser:/lunaix-os/kernel/kprint/kprintf.c diff --git a/lunaix-os/kernel/kprint/kprintf.c b/lunaix-os/kernel/kprint/kprintf.c index 376df36..dc46628 100644 --- a/lunaix-os/kernel/kprint/kprintf.c +++ b/lunaix-os/kernel/kprint/kprintf.c @@ -99,7 +99,7 @@ kprintf_v(const char* component, const char* fmt, ...) } static void -__twimap_kprintf_read(struct twimap* map) +__twimap_read_kmsg(struct twimap* map) { struct kp_records* __kprecs = twimap_data(map, struct kp_records*); @@ -119,7 +119,7 @@ __twimap_kprintf_read(struct twimap* map) static void kprintf_mapping_init() { - twimap_entry_simple(NULL, "kmsg", &kprecs, __twimap_kprintf_read); + twimap_export_value(NULL, kmsg, FSACL_ugR, &kprecs); } EXPORT_TWIFS_PLUGIN(kprintf, kprintf_mapping_init);