summaryrefslogtreecommitdiff
path: root/udevsend.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-02-11 22:29:15 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:26 -0700
commitf8911dbb0404902502085c7bb204f2f9c5bc1b9c (patch)
treea2b3a120e0dab1f455688c3f54ffa368dd10e508 /udevsend.c
parentc5118442a16940fc6ba40fd94ab28061e0f0d43b (diff)
[PATCH] compile udevd with klibc
On Mon, Feb 09, 2004 at 05:41:15AM +0100, Kay Sievers wrote: > It seems that today was just another udev-sunday for me :) > > Here is a working patch to compile udevd with klibc. > > It's sweet the static binary takes 6 kbytes and it runs > with only 80 kbytes virtual memory. > > I changed a few peaces and added a siginterrupt.c file to klibc. > We may check with hpa to get the changes upstream? So here is the next try :) hpa, for good reason, didn't like my changes to klibc. He will dump signal() completely from klibc instead, so here we switch to sigaction() and keep udevd working with klibc.
Diffstat (limited to 'udevsend.c')
-rw-r--r--udevsend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevsend.c b/udevsend.c
index 17372d8d9a..a24e7d75ed 100644
--- a/udevsend.c
+++ b/udevsend.c
@@ -179,7 +179,7 @@ int main(int argc, char* argv[])
/* If we can't send, try to start daemon and resend message */
loop = UDEVSEND_CONNECT_RETRY;
while (loop--) {
- retval = sendto(sock, &message, size, 0, (struct sockaddr*)&saddr, addrlen);
+ retval = sendto(sock, &message, size, 0, (struct sockaddr *)&saddr, addrlen);
if (retval != -1) {
retval = 0;
goto close_and_exit;