From 98501e58fff324ed0da854cf2b82cd2244909544 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Wed, 21 Apr 2004 09:44:05 +0000 Subject: [PATCH] fixed missing initialization of a timeout struct git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1488 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/src/vshelper-sync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util-vserver/src/vshelper-sync.c b/util-vserver/src/vshelper-sync.c index 28d14d0..9e1b3ab 100644 --- a/util-vserver/src/vshelper-sync.c +++ b/util-vserver/src/vshelper-sync.c @@ -74,7 +74,8 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; } - timeout.tv_sec = atoi(argv[idx+1]); + timeout.tv_sec = atoi(argv[idx+1]); + timeout.tv_usec = 0; for (;;) { char buf[512]; -- 1.8.1.5