catpoint

simple slides viewer
git clone git://git.2f30.org/catpoint
Log | Files | Refs | README | LICENSE

commit bd718da23726e84d4e20a93db4d4522c6dbe5ae6
parent 26221fab523ab770e5882099dcab9793245a047e
Author: lostd <lostd@2f30.org>
Date:   Sun, 20 Jul 2014 13:17:22 +0100

Wrap a long line

Diffstat:
Mcatpoint.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/catpoint.c b/catpoint.c @@ -37,7 +37,8 @@ main(int argc, char *argv[]) if (fd == -1) err(1, "open: %s", argv[i]); fstat(fd, &sb); - s[i].buf = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); + s[i].buf = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, + fd, 0); if (s[i].buf == MAP_FAILED) err(1, "mmap"); s[i].siz = sb.st_size;