summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/tests/test-mmap.c')
-rw-r--r--src/core/tests/test-mmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/tests/test-mmap.c b/src/core/tests/test-mmap.c
index 198968f..9df0622 100644
--- a/src/core/tests/test-mmap.c
+++ b/src/core/tests/test-mmap.c
@@ -1,7 +1,7 @@
/*
* test-mmap.c
*
- * Test for file_map().
+ * Test for rc_file_map().
*
* Copyright (C) 2004,2005 Martin Schlemmer <azarah@nosferatu.za.org>
*
@@ -24,7 +24,7 @@
#include <stdlib.h>
-#include "librcscripts/rcscripts.h"
+#include "rcscripts/rcutil.h"
int
main (void)
@@ -32,13 +32,13 @@ main (void)
char *buf;
size_t bufsize;
- if (-1 == file_map ("/etc/fstab", &buf, &bufsize))
+ if (-1 == rc_file_map ("/etc/fstab", &buf, &bufsize))
{
DBG_MSG ("Failed to mmap file");
exit (EXIT_FAILURE);
}
- file_unmap (buf, bufsize);
+ rc_file_unmap (buf, bufsize);
return 0;
}