minor aesthetic changes
Costa Tsaousis (ktsaou) committed
Jan 21, 2017 at 18:22 UTC
0a3774fb2add53cd8ead598f626ea1f79d7f5954
1 file changed
+9
-9
src/proc_self_mountinfo.c
+9
-9
@@ -7,31 +7,31 @@
7
/* A file system is "remote" if its Fs_name contains a ':'
8
or if (it is of type (smbfs or cifs) and its Fs_name starts with '//')
9
or Fs_name is equal to "-hosts" (used by autofs to mount remote fs). */
10
-# define ME_REMOTE(Fs_name, Fs_type) \
11
- (strchr (Fs_name, ':') != NULL \
12
- || ((Fs_name)[0] == '/' \
13
- && (Fs_name)[1] == '/' \
10
+# define ME_REMOTE(Fs_name, Fs_type) \
11
+ (strchr (Fs_name, ':') != NULL \
12
+ || ((Fs_name)[0] == '/' \
13
+ && (Fs_name)[1] == '/' \
14
&& (strcmp (Fs_type, "smbfs") == 0 \
15
|| strcmp (Fs_type, "cifs") == 0)) \
16
|| (strcmp("-hosts", Fs_name) == 0))
17
#endif
18
19
-#define ME_DUMMY_0(Fs_name, Fs_type) \
19
+#define ME_DUMMY_0(Fs_name, Fs_type) \
20
(strcmp (Fs_type, "autofs") == 0 \
21
|| strcmp (Fs_type, "proc") == 0 \
22
|| strcmp (Fs_type, "subfs") == 0 \
23
- /* for Linux 2.6/3.x */ \
23
+ /* for Linux 2.6/3.x */ \
24
|| strcmp (Fs_type, "debugfs") == 0 \
25
|| strcmp (Fs_type, "devpts") == 0 \
26
|| strcmp (Fs_type, "fusectl") == 0 \
27
|| strcmp (Fs_type, "mqueue") == 0 \
28
|| strcmp (Fs_type, "rpc_pipefs") == 0 \
29
|| strcmp (Fs_type, "sysfs") == 0 \
30
- /* FreeBSD, Linux 2.4 */ \
30
+ /* FreeBSD, Linux 2.4 */ \
31
|| strcmp (Fs_type, "devfs") == 0 \
32
- /* for NetBSD 3.0 */ \
32
+ /* for NetBSD 3.0 */ \
33
|| strcmp (Fs_type, "kernfs") == 0 \
34
- /* for Irix 6.5 */ \
34
+ /* for Irix 6.5 */ \
35
|| strcmp (Fs_type, "ignore") == 0)
36
37
/* Historically, we have marked as "dummy" any file system of type "none",