diff mbox series

Documentation error in depmod.d.5

Message ID aee4bc92-d34c-ff9f-2a86-f7b0c41c3d2f@gmail.com (mailing list archive)
State New, archived
Headers show
Series Documentation error in depmod.d.5 | expand

Commit Message

Brian Mason May 20, 2019, 3:53 p.m. UTC
Hello list,


I wasn't sure how to report this but I figured the mailing list was a
good bet.


In man/depmod.d.xml it says "/usr/lib/depmod.d" is one of the
directories depmod will check for configuration files, but
tools/depmod.c says "/lib/depmod.d" instead. I believe the sources are
correct and the documentation is in error because modprobe uses a
similar layout and its source and doc are consistent about
"/lib/modprobe.d".


Trivial fix but I'm sending a patch anyway!


Thanks,

Brian
diff mbox series

Patch

diff --git a/man/depmod.d.xml b/man/depmod.d.xml
index 4341a56..602f72d 100644
--- a/man/depmod.d.xml
+++ b/man/depmod.d.xml
@@ -39,7 +39,7 @@ 
   </refnamediv>
 
   <refsynopsisdiv>
-    <para><filename>/usr/lib/depmod.d/*.conf</filename></para>
+    <para><filename>/lib/depmod.d/*.conf</filename></para>
     <para><filename>/etc/depmod.d/*.conf</filename></para>
     <para><filename>/run/depmod.d/*.conf</filename></para>
   </refsynopsisdiv>