summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-05-10 11:09:02 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2008-05-10 11:09:02 +0200
commit164d300c2d4d88f2bd787a0c56dc34b3ebb47073 (patch)
tree9e53fd68bd6965b5bc862798543efdbb7fcc3116 /inotail.c
parent63993df448640d59812131bb4db664b2ce3b285a (diff)
Resolve some merge conflicts.
Diffstat (limited to 'inotail.c')
-rw-r--r--inotail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inotail.c b/inotail.c
index 4195e13..d708f1f 100644
--- a/inotail.c
+++ b/inotail.c
@@ -57,7 +57,7 @@ static const struct option long_opts[] = {
{ NULL, 0, NULL, 0 }
};
-static void *emalloc(size_t size)
+static void *emalloc(const size_t size)
{
void *ret = malloc(size);
@@ -698,7 +698,7 @@ int main(int argc, char **argv)
int i, c, ret = 0;
int n_files;
unsigned long n_units = DEFAULT_N_LINES;
- mode_t mode = M_LINES;
+ char mode = M_LINES;
char forever = 0;
char **filenames;
struct file_struct *files = NULL;