From a098105d92dab02ac4eee10712e408a213b93135 Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Fri, 15 May 2009 20:23:14 +0430 Subject: [PATCH] quran: don't include a colon after xerror msg --- quran.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quran.c b/quran.c index f82d4db..ef2e1cd 100644 --- a/quran.c +++ b/quran.c @@ -31,11 +31,11 @@ struct quran *quran_alloc(char *path) memset(quran, 0, sizeof(quran)); quran->fd = open(path, O_RDONLY); if (quran->fd == -1) - xerror("open: "); + xerror("open"); quran->text = mmap(NULL, file_size(quran->fd), PROT_READ, MAP_SHARED, quran->fd, 0); if (quran->text == MAP_FAILED) - xerror("mmap: "); + xerror("mmap"); init_ayas(quran); return quran; } -- 2.11.4.GIT