Lines Matching defs:perr

150 static void	perr(int, const char *, ...);
368 perr(1, "volcopy: Need a non-zero value for the -r option\n");
378 perr(1, "volcopy: Need a non-zero value for the -block option\n");
382 perr(1, "<%s> invalid option\n", argv[1]);
393 perr(9, "volcopy: -e and -feet are mutually exclusive\n");
395 perr(9, "volcopy: -a and -s are mutually exclusive\n");
397 perr(9, "ufs usage: volcopy [-F ufs] [generic options] \
413 perr(10, "%s: cannot open\n", In.f_dev_p);
415 perr(10, "%s: cannot open\n", Out.f_dev_p);
418 perr(10, "From device not character-special\n");
420 perr(10, "To device not character-special\n");
426 perr(10, "Use dd(1) command to copy tapes\n");
429 perr(1, "The -buf option requires ipc\n");
439 perr(10, "File System type unknown--get help\n");
444 perr(10, "Unrecognized version of UFS--get help\n");
449 perr(10, "Unrecognized version of UFS--get help\n");
550 perr(10, "\nvolcopy: STOP\n");
559 perr(1, "volcopy: Error %d during initialization\n", errno);
564 perr(10, "Error while reading label\n");
577 perr(10, "Error while writing label\n");
586 perr(1, "Cannot use -reel with -e when copying to tape\n");
592 perr(1, "Cannot lseek()\n");
596 perr(10, "File System type unknown--get help!\n");
601 perr(10, "Unrecognized version of UFS--get help\n");
606 perr(10, "Unrecognized version of UFS--get help\n");
719 perr(1, "Unable to determine machine type\n");
798 perr(1, "Error allocating semaphores: %d",
801 perr(1, "Error setting semaphores: %d", errno);
803 perr(1, "Error allocating shared memory: %d",
806 perr(1, "Error attaching shared memory: %d",
809 perr(0, "Error locking in shared memory: %d",
816 perr(1, "Out of memory\n");
917 perr(1, "semaphore operation error %d\n", errno);
939 perr(1, "I/O error %d on write\n",
949 perr(2, "semaphore operation error %d\n", errno);
981 perr(1, "Semaphore operation error %d\n", errno);
1009 perr(1, "I/O error %d on read\n",
1029 perr(2, "Semaphore operation error %d\n", errno);
1033 perr(3, "Semaphore operation error %d\n", errno);
1036 perr(4, "Semaphore operation error %d\n", errno);
1075 perr(1, "I/O error %d on read\n",
1105 perr(1, "I/O error %d on write\n",
1134 perr(5, "Semaphore operation error %d\n", errno);
1136 perr(6, "Semaphore operation error %d\n", errno);
1235 perr(1, "volcopy: Error %d during initialization\n", errno);
1249 perr(9, "Input tape is empty\n");
1257 perr(10, "Input tape not made by volcopy\n");
1306 perr(0, "Size of reel must be > 0, <= 3600\n");
1381 perr(0, "Bpi must be 800, 1600, or 6250\n");
1421 perr(0, "Volume is <%.6s>, not <%s>.\n", tlabl.v_volume, tvol);
1482 perr(1, "volcopy: cannot open /var/adm/filesave.log\n");
1553 perr(0, "Initialization error %d\n", errno);
1570 perr(0, "Need reel %d, label says reel %d\n",
1588 perr(1, "Initialization error %d\n", errno);
1592 perr(0, "Cannot re-write header -Try again!\n");
1600 perr(1, "Impossible case\n");
1607 * perr: Print error messages.
1611 perr(int severity, const char *fmt, ...)
1644 perr(10, "Unable to lseek on input\n");
1650 perr(10, "Unable to read on input\n");