summaryrefslogtreecommitdiffstats
path: root/lib/ismounted.c
diff options
context:
space:
mode:
authorKarel Zak2009-02-18 15:43:34 +0100
committerKarel Zak2009-02-18 15:43:34 +0100
commit33bbc9593708f33815ce666d9eab43d5381e30cd (patch)
tree2b671fc55effd43ad242aeab48e661e319daac52 /lib/ismounted.c
parentpo: update list of .c files (diff)
downloadkernel-qcow2-util-linux-33bbc9593708f33815ce666d9eab43d5381e30cd.tar.gz
kernel-qcow2-util-linux-33bbc9593708f33815ce666d9eab43d5381e30cd.tar.xz
kernel-qcow2-util-linux-33bbc9593708f33815ce666d9eab43d5381e30cd.zip
lib: add test_ismounted for regression test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/ismounted.c')
-rw-r--r--lib/ismounted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ismounted.c b/lib/ismounted.c
index 4c164a954..79a1df6a1 100644
--- a/lib/ismounted.c
+++ b/lib/ismounted.c
@@ -185,7 +185,7 @@ int is_mounted(const char *file)
return mount_flags;
}
-#ifdef DEBUG
+#ifdef TEST_PROGRAM
int main(int argc, char **argv)
{
if (argc < 2) {