diff packages/redboot/current/include/net/net.h @ 143:6b5f480c6929 ecos-sw-2000-12-08

Merge from eCos master repository on 2000-12-08-02:09:36-GMT
author jlarmour
date Fri, 08 Dec 2000 03:30:06 +0000
parents 0ae0bc38e387
children 52c99470ec11
line wrap: on
line diff
--- a/packages/redboot/current/include/net/net.h
+++ b/packages/redboot/current/include/net/net.h
@@ -579,7 +579,7 @@ extern char *inet_ntoa(in_addr_t *);
 #define NET_SUPPORT_TCP  1
 
 #ifdef BSP_LOG
-#define BSPLOG(x) { start_console(); x; end_console(); }
+#define BSPLOG(x) { int old_console = start_console(); x; end_console(old_console); }
 #define bsp_log printf
 #else
 #define BSPLOG(x)