summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-04-18 08:06:55 +0200
committerHarald Hoyer <harald@redhat.com>2013-04-18 08:06:55 +0200
commitaea275c43194b6ac519ef907b62c5c995050fde0 (patch)
tree3f5251590bea05909ba2296f6da15858d79272cb /src/journal
parentfc6e6d245ee3989c222a2a8cc82a33475f9922f3 (diff)
rename CMP_F_TYPE to F_TYPE_CMP
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/sd-journal.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index e92f20b63b..bc9e41e047 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -1248,11 +1248,11 @@ static void check_network(sd_journal *j, int fd) {
return;
j->on_network =
- CMP_F_TYPE(sfs.f_type, CIFS_MAGIC_NUMBER) ||
- CMP_F_TYPE(sfs.f_type, CODA_SUPER_MAGIC) ||
- CMP_F_TYPE(sfs.f_type, NCP_SUPER_MAGIC) ||
- CMP_F_TYPE(sfs.f_type, NFS_SUPER_MAGIC) ||
- CMP_F_TYPE(sfs.f_type, SMB_SUPER_MAGIC);
+ F_TYPE_CMP(sfs.f_type, CIFS_MAGIC_NUMBER) ||
+ F_TYPE_CMP(sfs.f_type, CODA_SUPER_MAGIC) ||
+ F_TYPE_CMP(sfs.f_type, NCP_SUPER_MAGIC) ||
+ F_TYPE_CMP(sfs.f_type, NFS_SUPER_MAGIC) ||
+ F_TYPE_CMP(sfs.f_type, SMB_SUPER_MAGIC);
}
static int add_file(sd_journal *j, const char *prefix, const char *filename) {