/titanic_41/usr/src/lib/libpkg/common/ |
H A D | tputcfent.c | 56 (void) fprintf(fp, pkg_gt("Pathname: %s\n"), ept->path); in tputcfent() 57 (void) fprintf(fp, pkg_gt("Type: ")); in tputcfent() 61 (void) fputs(pkg_gt("regular file\n"), fp); in tputcfent() 65 (void) fputs(pkg_gt("directory\n"), fp); in tputcfent() 69 (void) fputs(pkg_gt("exclusive directory\n"), fp); in tputcfent() 73 (void) fputs(pkg_gt("volatile file\n"), fp); in tputcfent() 77 (void) fputs(pkg_gt("editted file\n"), fp); in tputcfent() 81 (void) fputs(pkg_gt("named pipe\n"), fp); in tputcfent() 85 (void) fputs(pkg_gt("installation file\n"), fp); in tputcfent() 90 (void) fprintf(fp, pkg_gt("%s special device\n"), in tputcfent() [all …]
|
H A D | pkgtrans.c | 216 progerr(pkg_gt(ERR_TRANSFER)); in rd_map_size() 217 logerr(pkg_gt(MSG_NOSIZE)); in rd_map_size() 230 progerr(pkg_gt(ERR_TRANSFER)); in rd_map_size() 231 logerr(pkg_gt(MSG_NOSIZE)); in rd_map_size() 332 progerr(pkg_gt(ERR_TRANSFER)); in _pkgtrans() 333 logerr(pkg_gt(MSG_BADDEV), device1); in _pkgtrans() 342 pkg_gt("Insert %v into %p."), srcdev.norewind)) { in _pkgtrans() 346 progerr(pkg_gt(ERR_TRANSFER)); in _pkgtrans() 347 logerr(pkg_gt(MSG_GETVOL)); in _pkgtrans() 360 logerr(pkg_gt(MSG_GETVOL)); in _pkgtrans() [all …]
|
H A D | dstream.c | 193 progerr(pkg_gt(ERR_UNPACK)); in ds_readbuf() 194 logerr(pkg_gt(MSG_MEM)); in ds_readbuf() 202 progerr(pkg_gt(ERR_UNPACK)); in ds_readbuf() 203 logerr(pkg_gt(MSG_OPEN), device, errno); in ds_readbuf() 306 progerr(pkg_gt(ERR_UNPACK)); in ds_init() 307 logerr(pkg_gt(MSG_OPEN), device, errno); in ds_init() 313 progerr(pkg_gt(ERR_UNPACK)); in ds_init() 314 logerr(pkg_gt(MSG_MEM)); in ds_init() 321 progerr(pkg_gt(ERR_UNPACK)); in ds_init() 322 logerr(pkg_gt(MSG_OPEN), device, errno); in ds_init() [all …]
|
H A D | ncgrpw.c | 90 pkg_gt(ERR_MALLOC), fname, in cache_alloc() 93 (void) fprintf(stderr, pkg_gt(ERR_MALLOC), fname, len, in cache_alloc() 97 (void) fprintf(stderr, pkg_gt(ERR_MALLOC), fname, in cache_alloc() 125 (void) fprintf(stderr, pkg_gt(ERR_NOINIT), "cgrnam()"); in cgrnam() 171 pkg_gt(ERR_ADDFAIL), in cgrnam() 192 (void) fprintf(stderr, pkg_gt(ERR_NOINIT), "cpwnam()"); in cpwnam() 241 pkg_gt(ERR_ADDFAIL), in cpwnam() 284 (void) fprintf(stderr, pkg_gt(ERR_NOINIT), "cgrgid()"); in cgrgid() 327 pkg_gt(ERR_ADDFAIL), in cgrgid() 349 pkg_gt(ERR_NOINIT), "cpwuid()"); in cpwuid() [all …]
|
H A D | verify.c | 160 reperr(pkg_gt(ERR_EXIST)); in cverify() 176 reperr(pkg_gt(ERR_MODFAIL)); in cverify() 183 reperr(pkg_gt(ERR_MEM)); in cverify() 187 reperr(pkg_gt(ERR_MEM)); in cverify() 189 reperr(pkg_gt(ERR_MTIME), tbuf1, tbuf2); in cverify() 200 reperr(pkg_gt(ERR_SIZE), cinfo->size, status.st_size); in cverify() 234 reperr(pkg_gt(ERR_CKSUM), cinfo->cksum, mycksum); in cverify() 276 reperr(pkg_gt(ERR_NO_CKSUM)); in compute_checksum() 283 reperr(pkg_gt(ERR_NO_CKSUM)); in compute_checksum() 348 reperr(pkg_gt(ERR_RMDIR), path); in clear_target() [all …]
|
H A D | pkgmount.c | 59 progerr(pkg_gt(ERR_NOTROOT)); in pkgmount() 66 pkg_gt(LABEL0), part, nparts, pkg); in pkgmount() 69 pkg_gt(LABEL1), part, nparts); in pkgmount() 72 (void) snprintf(prompt, sizeof (prompt), pkg_gt(LABEL2), pkg); in pkgmount() 74 (void) snprintf(prompt, sizeof (prompt), pkg_gt(LABEL3)); in pkgmount() 89 progerr(pkg_gt("unknown device <%s>"), in pkgmount() 93 pkg_gt("unable to obtain package volume")); in pkgmount() 102 logerr(pkg_gt(ERR_FSTYP), devp->bdevice); in pkgmount() 108 logerr(pkg_gt(ERR_FSTYP), devp->bdevice); in pkgmount() 115 logerr(pkg_gt(ERR_FSTYP), devp->bdevice); in pkgmount() [all …]
|
H A D | gpkgmap.c | 185 setErrstr(pkg_gt(ERR_BAD_VOLUME_NUMBER)); in gpkgmap() 219 setErrstr(pkg_gt(ERR_CANNOT_READ_PATHNAME_FIELD)); in gpkgmap() 226 setErrstr(pkg_gt(ERR_CANT_READ_LCLPATH)); in gpkgmap() 241 setErrstr(pkg_gt(ERR_CANNOT_READ_CONTENT_INFO)); in gpkgmap() 246 setErrstr(pkg_gt(ERR_EXTRA_TOKENS_PRESENT)); in gpkgmap() 264 setErrstr(pkg_gt(ERR_CANNOT_READ_CLASS_TOKEN)); in gpkgmap() 268 setErrstr(pkg_gt(ERR_CANNOT_READ_PATHNAME_FIELD)); in gpkgmap() 278 setErrstr(pkg_gt(ERR_READLINK)); in gpkgmap() 281 pkg_gt(ERR_CANT_READ_LCLPATH)); in gpkgmap() 289 setErrstr(pkg_gt(ERR_BAD_LINK_SPEC)); in gpkgmap() [all …]
|
H A D | ckvolseq.c | 61 logerr(pkg_gt(ERR_BADPKGINFO), path); in ckvolseq() 67 logerr(pkg_gt(ERR_NOPKGMAP), path); in ckvolseq() 77 logerr(pkg_gt(MSG_CORRUPT)); in ckvolseq() 104 logerr(pkg_gt(MSG_SEQ)); in ckvolseq()
|
H A D | ckparam.c | 144 progerr(pkg_gt(ERR_CHAR), param); in bad_first_char() 155 progerr(pkg_gt(ERR_UNDEF), param); in isnull() 165 progerr(pkg_gt(ERR_LEN), param); in too_long() 176 progerr(pkg_gt(ERR_ASCII), param); in not_ascii() 189 progerr(pkg_gt(ERR_ALNUM), param); in not_alnum()
|
H A D | runcmd.c | 105 pkg_gt("unable to create temp error file, errno=%d"), in esystem() 159 progerr(pkg_gt("exec of <%s> failed, errno=%d"), cmd, errno); in esystem() 164 logerr(pkg_gt("bad vfork(), errno=%d"), errno); in esystem() 214 pkg_gt("unable to create temp error file, errno=%d"), in epopen() 220 progerr(pkg_gt("file name max length %d; name is too long: %s"), in epopen() 228 progerr(pkg_gt("no memory in epopen(), errno=%d"), errno); in epopen() 239 progerr(pkg_gt("command max length %d; cmd is too long: %s"), in epopen()
|
H A D | logerr.c | 44 char *estr = pkg_gt("ERROR:"); in logerr() 45 char *wstr = pkg_gt("WARNING:"); in logerr() 46 char *nstr = pkg_gt("NOTE:"); in logerr()
|
H A D | pkgexecv.c | 184 progerr(pkg_gt(ERR_FORK_FAILED), errno, strerror(errno)); in pkgexecv() 298 progerr(pkg_gt(ERR_WAIT_FAILED), pid, status, in pkgexecv() 432 progerr(pkg_gt(ERR_SETGID), grp->gr_gid); in pkgexecv() 437 progerr(pkg_gt(ERR_SETUID), pwp->pw_uid); in pkgexecv() 444 progerr(pkg_gt(ERR_EX_FAIL), arg[0], errno); in pkgexecv()
|
H A D | gpkglist.c | 83 progerr(pkg_gt(ERR_MEMORY), errno); in next_n() 139 menup = allocmenu(pkg_gt(HEADER), CKALPHA); in gpkglist() 163 pkg_gt(HELP), pkg_gt(PROMPT)); in gpkglist() 213 progerr(pkg_gt(ERR_NOPKG), pkg[i]); in gpkglist() 232 progerr(pkg_gt(ERR_NOPKG), pkg[i]); in gpkglist()
|
H A D | nhash.c | 80 (void) fprintf(stderr, pkg_gt("malloc(Cache **cp)")); in init_cache() 85 (void) fprintf(stderr, pkg_gt("malloc(Bucket cp->bp)")); in init_cache() 129 pkg_gt("realloc(%d) bucket=%d\n"), in add_cache() 150 pkg_gt("add_cache(): out of memory\n")); in add_cache()
|
H A D | isdir.c | 181 (void) fprintf(stderr, pkg_gt(ERR_ISCPIO_OPEN), path); in iscpio() 187 (void) fprintf(stderr, pkg_gt(ERR_ISCPIO_FSTAT), path); in iscpio() 196 pkg_gt(ERR_ISCPIO_READ), path); in iscpio() 212 pkg_gt(ERR_ISCPIO_NOCPIO), in iscpio()
|
H A D | pkglocale.h | 42 #define pkg_gt(x) x macro 44 #define pkg_gt(x) dgettext(TEXT_DOMAIN, x)
|
H A D | progerr.c | 86 (void) fprintf(stderr, pkg_gt("%s: ERROR: "), ProgName); in progerr() 88 (void) fprintf(stderr, pkg_gt(" ERROR: ")); in progerr()
|
H A D | rrmdir.c | 63 pkg_gt("warning: rrmdir(path==NULL): nothing deleted\n")); in rrmdir()
|
H A D | pkgexecl.c | 67 progerr(pkg_gt(ERR_TOO_MANY_ARGS), in pkgexecl()
|
H A D | srchcfile.c | 219 setErrstr(pkg_gt(ERR_ILLEGAL_SEARCH_PATH)); in srchcfile() 331 setErrstr(pkg_gt(ERR_CANNOT_READ_MM_NUMS)); in srchcfile()
|
H A D | pkgweb.c | 1495 logerr(pkg_gt(WRN_OCSP_RESP_NONCE)); in ocsp_verify()
|