From a4f2bb3c631b8e306361f9c285f09b97d5b215ac Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 24 Mar 2001 17:28:06 +0000 Subject: [PATCH] Revert the warning elimination in rev 1.292. It breaks the Alpha build with: /usr/src/usr.sbin/sysinstall/menus.c:1323: initializer element is not computable at load time /usr/src/usr.sbin/sysinstall/menus.c:1323: (near initialization for `MenuNetworking.items[9].aux') --- usr.sbin/sade/menus.c | 2 +- usr.sbin/sysinstall/menus.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c index e10a3940598b..6b922bad64cb 100644 --- a/usr.sbin/sade/menus.c +++ b/usr.sbin/sade/menus.c @@ -1320,7 +1320,7 @@ DMenu MenuNetworking = { { " NFS server", "This machine will be an NFS server", dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" }, { " Ntpdate", "Select a clock-synchronization server", - dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', (int)"ntpdate_enable=YES" }, + dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" }, { " PCNFSD", "Run authentication server for clients with PC-NFS.", dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" }, { " portmap", "This machine wants to run the portmapper daemon", diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index e10a3940598b..6b922bad64cb 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -1320,7 +1320,7 @@ DMenu MenuNetworking = { { " NFS server", "This machine will be an NFS server", dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" }, { " Ntpdate", "Select a clock-synchronization server", - dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', (int)"ntpdate_enable=YES" }, + dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" }, { " PCNFSD", "Run authentication server for clients with PC-NFS.", dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" }, { " portmap", "This machine wants to run the portmapper daemon",