Uh, the reason why ping did only work once, was because set_alarm() did not call

the existing syscall...
The second ping now ends in a kernel panic, though 8-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18277 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-07-26 13:19:52 +00:00
parent 34a892a1c1
commit 05c0dde554

View File

@ -1,9 +1,13 @@
/*
* Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de.
/*
* Copyright 2002-2006, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#include <libroot_private.h>
#include <real_time_data.h>
#include <syscalls.h>
#include <FindDirectory.h>
#include <OS.h>
@ -11,10 +15,6 @@
#include <string.h>
#include <syslog.h>
#include <libroot_private.h>
#include <real_time_data.h>
#include <syscalls.h>
static struct real_time_data sRealTimeDefaults;
static struct real_time_data *sRealTimeData;
@ -103,8 +103,7 @@ set_timezone(char *timezone)
bigtime_t
set_alarm(bigtime_t when, uint32 flags)
set_alarm(bigtime_t when, uint32 mode)
{
// ToDo: set_alarm()
return B_ERROR;
return _kern_set_alarm(when, mode);
}