Home
last modified time | relevance | path

Searched refs:errfmt (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c173 const char *errfmt = in pool_check_pset() local
180 len = strlen(errfmt) + 4 * 2; /* 4 digits for psetid and min */ in pool_check_pset()
182 (void) snprintf(errval, len + 1, errfmt, psetid, in pool_check_pset()
187 rcm_log_message(RCM_ERROR, (char *)errfmt, psetid, in pool_check_pset()
H A Dvlan_rcm.c1068 const char *errfmt; in vlan_log_err() local
1089 errfmt = strlen(link) > 0 ? _("VLAN: %s(%s)") : _("VLAN: %s"); in vlan_log_err()
1090 len = strlen(errfmt) + strlen(errmsg) + MAXLINKNAMELEN + 1; in vlan_log_err()
1093 (void) snprintf(error, len, errfmt, errmsg, link); in vlan_log_err()
1095 (void) snprintf(error, len, errfmt, errmsg); in vlan_log_err()
H A Dibpart_rcm.c1097 const char *errfmt; in ibpart_log_err() local
1118 errfmt = strlen(link) > 0 ? _("IBPART: %s(%s)") : _("IBPART: %s"); in ibpart_log_err()
1119 len = strlen(errfmt) + strlen(errmsg) + MAXLINKNAMELEN + 1; in ibpart_log_err()
1122 (void) snprintf(error, len, errfmt, errmsg, link); in ibpart_log_err()
1124 (void) snprintf(error, len, errfmt, errmsg); in ibpart_log_err()
H A Dvnic_rcm.c1080 const char *errfmt; in vnic_log_err() local
1101 errfmt = strlen(link) > 0 ? _("VNIC: %s(%s)") : _("VNIC: %s"); in vnic_log_err()
1102 len = strlen(errfmt) + strlen(errmsg) + MAXLINKNAMELEN + 1; in vnic_log_err()
1105 (void) snprintf(error, len, errfmt, errmsg, link); in vnic_log_err()
1107 (void) snprintf(error, len, errfmt, errmsg); in vnic_log_err()
H A Daggr_rcm.c1152 const char *errfmt; in aggr_log_err() local
1174 errfmt = strlen(link) > 0 ? _("AGGR: %s(%s)") : _("AGGR: %s"); in aggr_log_err()
1175 len = strlen(errfmt) + strlen(errmsg) + MAXLINKNAMELEN + 1; in aggr_log_err()
1178 (void) sprintf(error, errfmt, errmsg, link); in aggr_log_err()
1180 (void) sprintf(error, errfmt, errmsg); in aggr_log_err()
H A Dip_rcm.c1407 const char *errfmt; in ip_log_err() local
1416 errfmt = _("IP: %s"); in ip_log_err()
1417 size = strlen(errfmt) + strlen(errmsg) + 1; in ip_log_err()
1419 (void) snprintf(error, size, errfmt, errmsg); in ip_log_err()
1422 errfmt = _("IP: %s(%s)"); in ip_log_err()
1423 size = strlen(errfmt) + strlen(errmsg) + strlen(ifname) + 1; in ip_log_err()
1425 (void) snprintf(error, size, errfmt, errmsg, ifname); in ip_log_err()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Ddbtab.c464 char *errfmt = "store_record: dbm_store failed, Error: %s\n"; in store_record() local
496 (void) fprintf(stderr, errfmt, err); in store_record()
498 syslog(LOG_ERR, gettext(errfmt), err); in store_record()
516 char *errfmt = "fetch_record: dbm_fetch failed, Error: %s\n"; in fetch_record() local
532 syslog(LOG_ERR, gettext(errfmt), err); in fetch_record()
541 (void) fprintf(stderr, errfmt, err); in fetch_record()
574 char *errfmt = "delete_record: dbm_delete failed, Error: %s\n"; in delete_record() local
603 (void) fprintf(stderr, errfmt, err); in delete_record()
605 syslog(LOG_ERR, gettext(errfmt), err); in delete_record()
/illumos-gate/usr/src/lib/libproc/common/
H A DPcore.c1346 const char *errfmt = "core file data for mapping at %p not saved: %s\n"; in core_report_mapping() local
1356 Perror_printf(P, errfmt, addr, strerror(err)); in core_report_mapping()
1357 dprintf(errfmt, addr, strerror(err)); in core_report_mapping()