[rtems-libbsd commit] Fix default network init header
Sebastian Huber
sebh at rtems.org
Wed Dec 4 12:37:35 UTC 2013
Module: rtems-libbsd
Branch: master
Commit: 5cd6a535a8ba1d278fdd1f767a54301e5dc1202f
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=5cd6a535a8ba1d278fdd1f767a54301e5dc1202f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Nov 14 10:04:13 2013 +0100
Fix default network init header
---
.../include/rtems/bsd/test/default-network-init.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h
index 334d1a9..b04a290 100644
--- a/testsuite/include/rtems/bsd/test/default-network-init.h
+++ b/testsuite/include/rtems/bsd/test/default-network-init.h
@@ -32,6 +32,7 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
+#include <sysexits.h>
#include <machine/rtems-bsd-commands.h>
@@ -120,10 +121,10 @@ default_network_route(void)
NULL
};
- exit_code = rtems_bsd_command_route(ARGC(dflt_route), dflt_route);
+ exit_code = rtems_bsd_command_route(DEFAULT_NETWORK_ARGC(dflt_route), dflt_route);
assert(exit_code == EXIT_SUCCESS);
- exit_code = rtems_bsd_command_route(ARGC(dflt_route2), dflt_route2);
+ exit_code = rtems_bsd_command_route(DEFAULT_NETWORK_ARGC(dflt_route2), dflt_route2);
assert(exit_code == EXIT_SUCCESS);
}
More information about the vc
mailing list