X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-dhcp-client.c;h=3b35dac69b46a5c2541a274adaa1834b46ce0ac5;hb=49a6a1636f849eba12fb444651ee818628426f0d;hp=c15f6939af7bf079c49b866c013195318d02c20c;hpb=d8b30702057c18dac2f35fd766ef5d2a12786eae;p=openvswitch diff --git a/tests/test-dhcp-client.c b/tests/test-dhcp-client.c index c15f6939..3b35dac6 100644 --- a/tests/test-dhcp-client.c +++ b/tests/test-dhcp-client.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ #include "command-line.h" #include "dhcp.h" #include "fatal-signal.h" -#include "fault.h" #include "poll-loop.h" #include "util.h" #include "vlog.h" @@ -51,7 +50,6 @@ main(int argc, char *argv[]) int error; set_program_name(argv[0]); - register_fault_handlers(); vlog_init(); parse_options(argc, argv); @@ -67,7 +65,7 @@ main(int argc, char *argv[]) ovs_fatal(error, "dhclient_create failed"); } dhclient_init(cli, request_ip.s_addr); - fatal_signal_add_hook(release, cli, true); + fatal_signal_add_hook(release, NULL, cli, true); for (;;) { dhclient_run(cli);