diff --git a/commands/ibm/readclock.c b/commands/ibm/readclock.c index 68741e3b0..27cc860b2 100755 --- a/commands/ibm/readclock.c +++ b/commands/ibm/readclock.c @@ -123,6 +123,7 @@ PUBLIC int main(int argc, char **argv) argc--; } +#if DEAD_CODE /* The hardware clock may run in a different time zone, likely GMT or * winter time. Select that time zone. */ @@ -135,6 +136,7 @@ PUBLIC int main(int argc, char **argv) putenv(clocktz); tzset(); } +#endif /* Read the CMOS real time clock. */ for (i = 0; i < MAX_RETRIES; i++) { diff --git a/commands/simple/sysenv.c b/commands/simple/sysenv.c index b1c693eec..cb8b87aa6 100755 --- a/commands/simple/sysenv.c +++ b/commands/simple/sysenv.c @@ -55,7 +55,7 @@ int main(int argc, char **argv) sysgetenv.val= val; sysgetenv.vallen= sizeof(val); - if (svrctl(SYSGETENV, &sysgetenv) == -1) { + if (svrctl(MMGETPARAM, &sysgetenv) == -1) { if (errno == ESRCH) { ex |= 2; } else {