batadv_err(9)
π batadv_err(9) π
okay so bestie, welcome to batadv_err(9), straight out of the Kernel API Manual β¨ this one's short and sweet and honestly kinda the moment where your error goes β¨everywhere at onceβ¨
π NAME π
batadv_err β store an error in the debug buffer and print it to the kmsg buffer π«Ά
like yes, both. at the same time. not me double-dipping but also fully double-dipping π
π SYNOPSIS π
batadv_err (net_dev , fmt , arg... );
π¦ ARGUMENTS π¦
net_devβ the mesh interface net device π°οΈ this is the underlying mesh interface's network device, bestie, so like, know which one you're yelling aboutfmtβ the format string π classic printf energy, you know the vibeargβ the variable arguments πΈ the actual little guys that get slotted into the format string
π SEE ALSO π
peep the kernel file ./net/batman-adv/log.h for the whole fam π
enum batadv_dbg_level(9)_batadv_dbg(9)batadv_dbg(9)batadv_dbg_ratelimited(9)batadv_info(9)
ngl this page is short but it ate fr fr βbatadv_errgives you the debug buffer and thekmsgbuffer in one go, no cap ππ₯
okay that's the whole thing bestie, ily, go log something iconic π
signing off from ./net/batman-adv, dated October 2026 β mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms