summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index e110863..e71b5f2 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -5,7 +5,6 @@
#include "globals.h"
#include "bus.h"
#include "device-functions.h"
-#include "nicutils.h"
#include "monitor.h"
#include "menus.h"
#include "gpib.h"
@@ -232,10 +231,7 @@ int main(int argc, char **argv)
writeUserBlock(&globals.Flash, eprom_loc, sizeof(globals.Flash.self_cal_startups));
}
- nicinfo info;
- strcpy(info.ip,"-");
- nicutils_infofordefaultroute(&info);
- message = g_strdup_printf ("GPIB addr %d, Eth addr %s", globals.Flash.gpib_address,info.ip);
+ message = g_strdup_printf ("GPIB addr %d.", globals.Flash.gpib_address);
LCD_write(2,0,message);
g_free (message);
@@ -295,7 +291,7 @@ int main(int argc, char **argv)
g_timeout_add (100, (GSourceFunc) finish_boot, NULL);
if (globals.Flash.vxi_enabled) {
- GThread *vxithread =g_thread_create(vxithreadfunc, NULL,false, NULL);
+ GThread *vxithread =g_thread_create(vxithreadfunc, NULL, FALSE, NULL);
if(vxithread == NULL)
printf("Couldn't create vxi thread\n");
}