VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Randy Dunlap <rdunlap@infradead.org> 2019-10-02 17:08:18 -0700 committer: David S. Miller <davem@davemloft.net> 2019-10-03 12:12:23 -0400 commit: 2105b52e30debe7f19f3218598d8ae777dcc6776 parent: 4094871db1d65810acab3d57f6089aa39ef7f648
Commit Summary:
lib: textsearch: fix escapes in example code
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/lib/textsearch.c b/lib/textsearch.c
index 4f16eec5d554..f68dea8806be 100644
--- a/lib/textsearch.c
+++ b/lib/textsearch.c
@@ -89,9 +89,9 @@
  *       goto errout;
  *   }
  *
- *   pos = textsearch_find_continuous(conf, \&state, example, strlen(example));
+ *   pos = textsearch_find_continuous(conf, &state, example, strlen(example));
  *   if (pos != UINT_MAX)
- *       panic("Oh my god, dancing chickens at \%d\n", pos);
+ *       panic("Oh my god, dancing chickens at %d\n", pos);
  *
  *   textsearch_destroy(conf);
  */