aboutsummaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r--miscutils/devfsd.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 1b88f050e..bb6b679b9 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -93,17 +93,17 @@
93/* Never change this otherwise the binary interface will change */ 93/* Never change this otherwise the binary interface will change */
94 94
95struct devfsd_notify_struct 95struct devfsd_notify_struct
96{ /* Use native C types to ensure same types in kernel and user space */ 96{ /* Use native C types to ensure same types in kernel and user space */
97 unsigned int type; /* DEVFSD_NOTIFY_* value */ 97 unsigned int type; /* DEVFSD_NOTIFY_* value */
98 unsigned int mode; /* Mode of the inode or device entry */ 98 unsigned int mode; /* Mode of the inode or device entry */
99 unsigned int major; /* Major number of device entry */ 99 unsigned int major; /* Major number of device entry */
100 unsigned int minor; /* Minor number of device entry */ 100 unsigned int minor; /* Minor number of device entry */
101 unsigned int uid; /* Uid of process, inode or device entry */ 101 unsigned int uid; /* Uid of process, inode or device entry */
102 unsigned int gid; /* Gid of process, inode or device entry */ 102 unsigned int gid; /* Gid of process, inode or device entry */
103 unsigned int overrun_count; /* Number of lost events */ 103 unsigned int overrun_count; /* Number of lost events */
104 unsigned int namelen; /* Number of characters not including '\0' */ 104 unsigned int namelen; /* Number of characters not including '\0' */
105 /* The device name MUST come last */ 105 /* The device name MUST come last */
106 char devname[DEVFS_PATHLEN]; /* This will be '\0' terminated */ 106 char devname[DEVFS_PATHLEN]; /* This will be '\0' terminated */
107}; 107};
108 108
109#define BUFFER_SIZE 16384 109#define BUFFER_SIZE 16384