catpoint

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

commit 2b32e6dd7e883e45d8ba9e0cea896984a6cf9902
parent 96db87fc2bc8daa4c350511dce72c0ca963e15ea
Author: Lazaros Koromilas <lostd@2f30.org>
Date:   Sat,  9 Feb 2019 20:13:16 +0200

Revert "Wrap a long line"

This reverts commit bd718da23726e84d4e20a93db4d4522c6dbe5ae6.

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

diff --git a/catpoint.c b/catpoint.c @@ -37,8 +37,7 @@ 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;