X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fstr_talloc%2F_info;h=4edee27b2a5d7027d5d33a6fd65794efd98c6210;hp=f6214ce79fe09f566dc52296834c865f6953d277;hb=100444225380d3f5ca29424ea54703d308c7c651;hpb=e70eae05572ae0e7ae119ad02b278f73d4c583dc diff --git a/ccan/str_talloc/_info b/ccan/str_talloc/_info index f6214ce7..4edee27b 100644 --- a/ccan/str_talloc/_info +++ b/ccan/str_talloc/_info @@ -25,7 +25,7 @@ * textfile = grab_file(NULL, argv[1], NULL); * if (!textfile) * err(1, "Failed reading %s", argv[1]); - * lines = strsplit(textfile, textfile, "\n", NULL); + * lines = strsplit(textfile, textfile, "\n"); * * // Join them back together with two linefeeds. * printf("%s", strjoin(textfile, lines, "\n\n"));