summaryrefslogtreecommitdiff
path: root/udevdb.c
diff options
context:
space:
mode:
authorrml@tech9.net <rml@tech9.net>2003-10-19 21:56:21 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:41 -0700
commitc2405f502cae4a634a25674306cffefb85df9ebb (patch)
tree1f51811af2c367b577d38fe3d0c190117ec4490f /udevdb.c
parentd7e954a4ef664cd65fbb34cb23ca57dc1bb89ea0 (diff)
downloadsystemd-c2405f502cae4a634a25674306cffefb85df9ebb.tar.gz
[PATCH] udev: mode should be mode_t
Unix file modes should be stored in a mode_t, not a standard type. At the moment it is actually unsigned, in fact, not a signed integer. Attached patch does an s/int mode/mode_t mode/ and cleans up the results.
Diffstat (limited to 'udevdb.c')
-rw-r--r--udevdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevdb.c b/udevdb.c
index fa26de46d5..678ddd9603 100644
--- a/udevdb.c
+++ b/udevdb.c
@@ -73,7 +73,7 @@ struct namedb_record {
char type;
int major;
int minor;
- int mode;
+ mode_t mode;
};
/**