SCCS-vsn: usr.sbin/sendmail/src/conf.c 6.46
-static char sccsid[] = "@(#)conf.c 6.45 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c 6.46 (Berkeley) %G%";
#endif /* not lint */
# include <sys/ioctl.h>
#endif /* not lint */
# include <sys/ioctl.h>
# endif
# if defined(hpux)
# define LA_TYPE LA_FLOAT
# endif
# if defined(hpux)
# define LA_TYPE LA_FLOAT
+# define LA_AVENRUN "avenrun"
errstring(errno));
return (-1);
}
errstring(errno));
return (-1);
}
+ if (Nl[X_AVENRUN].n_value == 0)
+ {
+ if (tTd(3, 1))
+ printf("getla: nlist(%s, %s) ==> 0\n",
+ _PATH_UNIX, LA_AVENRUN);
+ return (-1);
+ }
}
if (tTd(3, 20))
printf("getla: symbol address = %#x\n", Nl[X_AVENRUN].n_value);
}
if (tTd(3, 20))
printf("getla: symbol address = %#x\n", Nl[X_AVENRUN].n_value);