Re: [PATCH -perfbook] getrusage: minor typo (runivcsw -> ru_nivcsw)
"Paul E. McKenney" <[email protected]> Fri, 31 Oct 2025 14:19:48 -0700
| Newsgroups | org.kernel.vger.perfbook |
|---|---|
| Message-ID | <1c0a324f-df2e-49c5-88e3-4b458907f0e2@paulmck-laptop> |
On Fri, Oct 31, 2025 at 05:38:50PM +0100, Hanmiru Kim wrote: > Hello, > The `getrusage` example listing contains a small typo: the underscore in `ru_nivcsw` was missing. > See `man 2 getrusage` to confirm. > > Thank you for this wonderful book! > I tried sending the patch using `git send-email` first but I couldn't get it to work. I apologise in advance in case you receive two emails. > > Signed-off-by: Han-Miru Kim > <[email protected]> Good eyes, queued and pushed, thank you! Thanx, Paul > --- > diff --git a/debugging/debugging.tex b/debugging/debugging.tex > index f285ebc1..ccc33ef9 100644 > --- a/debugging/debugging.tex > +++ b/debugging/debugging.tex > @@ -2609,7 +2609,7 @@ int runtest(void) > abort(); > } > return (ru1.ru_nvcsw == ru2.ru_nvcsw && > - ru1.runivcsw == ru2.runivcsw); > + ru1.ru_nivcsw == ru2.ru_nivcsw); > } > \end{VerbatimL} > \end{fcvlabel} > >