chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] switch udev's seqnum to u64
[elogind.git]
/
udevd.h
diff --git
a/udevd.h
b/udevd.h
index 8efe1d569c59f910e65fccf07e2bcebeff14db6e..9be581d420bda0822e19d03c86a4c9a86986d728 100644
(file)
--- a/
udevd.h
+++ b/
udevd.h
@@
-25,7
+25,7
@@
#include "list.h"
#define UDEV_MAGIC "udevd_" UDEV_VERSION
#include "list.h"
#define UDEV_MAGIC "udevd_" UDEV_VERSION
-#define EVENT_TIMEOUT_SEC
5
+#define EVENT_TIMEOUT_SEC
10
#define UDEVSEND_CONNECT_RETRY 20 /* x 100 millisec */
#define UDEVD_SOCK_PATH "udevd"
#define UDEVSEND_CONNECT_RETRY 20 /* x 100 millisec */
#define UDEVD_SOCK_PATH "udevd"
@@
-33,9
+33,9
@@
struct hotplug_msg {
char magic[20];
struct list_head list;
pid_t pid;
char magic[20];
struct list_head list;
pid_t pid;
-
int
seqnum;
-
time_t
queue_time;
- char action[
8
];
- char devpath[
128
];
- char subsystem[
16
];
+
unsigned long long
seqnum;
+
long
queue_time;
+ char action[
ACTION_SIZE
];
+ char devpath[
DEVPATH_SIZE
];
+ char subsystem[
SUBSYSTEM_SIZE
];
};
};