Lines Matching defs:s

179 		logerror("%s: string too long \"%s ...\"\n"
199 (void) fprintf(stderr, "%s: Must be root\n", prog);
219 (void) fprintf(stderr, "Usage: %s [-n]\n", prog);
226 (void) snprintf(errmsg, sizeof (errmsg), "%s: %s", prog, PM);
238 "%s: Unable to initialize mutex lock\n", prog);
243 (void) snprintf(errmsg, sizeof (errmsg), "%s: malloc", prog);
263 * Close all the parent's file descriptors (Bug 1225843).
309 logerror("Unable to monitor system's power button.");
352 * Setup for gathering system's statistic.
399 logerror("Unable to open %s: %s", SRN, strerror(errno));
408 logerror("Ioctl SRN_IOC_AUTOSX failed: %s", strerror(errno));
423 logerror("Poll error: %s", strerror(errno));
431 logerror("ioctl error: %s", strerror(errno));
457 logerror("Unable to open CPR config file '%s'", CPR_CONFIG);
462 logerror("Unable to read CPR config file '%s'", CPR_CONFIG);
546 logerror("unable to access idlecheck program \"%s\".",
549 logerror("idlecheck program \"%s\" is not executable.",
566 logerror("autoshutdown behavior \"%s\" unrecognized.",
606 int s, f;
624 s = start_of_day + info->pd_start_time * 60;
626 if ((s < f && *now >= s && *now < f) ||
627 (s >= f && (*now < f || *now >= s))) {
676 * Only when everything else is idle, run the user's idlecheck
756 } else if (s < f && *now >= f) {
757 shutdown_time = s + DAYS_TO_SECS;
759 shutdown_time = s;
931 * Execute the user's idlecheck script and set variable PM_IDLETIME.
984 (void) fprintf(stderr, "Currently @ %s", ctime(&now));
1069 (void) syslog(LOG_ERR, "Failed to exec \"%s\".", cmd_argv[0]);
1282 const char *e1 = "%s: Cannot open pid file for read: ";
1283 const char *e2 = "%s: Cannot unlink obsolete pid file: ";
1284 const char *e3 = "%s: Either another daemon is running or the"
1286 const char *e4 = "%s: Cannot create pid file: ";
1351 logerror("Cannot write pid file: %s", strerror(errno));