summaryrefslogtreecommitdiffstats
path: root/bin/pax/pax.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1997-08-29 16:12:30 +0000
committersos <sos@FreeBSD.org>1997-08-29 16:12:30 +0000
commit99b7368a45a052dfe4e61148f2b7f949d35a2008 (patch)
tree7b110c0e5096d1a7b6e8d31b77e1196ec3b5eced /bin/pax/pax.c
parent9dc7e3f1c1ec2ca42b3a1763f7616851497c14d3 (diff)
downloadFreeBSD-src-99b7368a45a052dfe4e61148f2b7f949d35a2008.zip
FreeBSD-src-99b7368a45a052dfe4e61148f2b7f949d35a2008.tar.gz
Dont have an internal function named "warn" it clashes with libc..
Needed for ELF.
Diffstat (limited to 'bin/pax/pax.c')
-rw-r--r--bin/pax/pax.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/pax/pax.c b/bin/pax/pax.c
index 1fdefb2..7199f95 100644
--- a/bin/pax/pax.c
+++ b/bin/pax/pax.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: pax.c,v 1.8 1997/02/22 14:04:39 peter Exp $
*/
#ifndef lint
@@ -285,9 +285,9 @@ sig_cleanup(which_sig)
*/
vflag = vfpart = 1;
if (which_sig == SIGXCPU)
- warn(0, "Cpu time limit reached, cleaning up.");
+ pax_warn(0, "Cpu time limit reached, cleaning up.");
else
- warn(0, "Signal caught, cleaning up.");
+ pax_warn(0, "Signal caught, cleaning up.");
ar_close();
proc_dir();
@@ -365,7 +365,7 @@ gen_init()
(sigaddset(&s_mask,SIGINT) < 0)||(sigaddset(&s_mask,SIGHUP) < 0) ||
(sigaddset(&s_mask,SIGPIPE) < 0)||(sigaddset(&s_mask,SIGQUIT)<0) ||
(sigaddset(&s_mask,SIGXCPU) < 0)||(sigaddset(&s_mask,SIGXFSZ)<0)) {
- warn(1, "Unable to set up signal mask");
+ pax_warn(1, "Unable to set up signal mask");
return(-1);
}
n_hand.sa_mask = s_mask;
@@ -404,6 +404,6 @@ gen_init()
return(0);
out:
- syswarn(1, errno, "Unable to set up signal handler");
+ sys_warn(1, errno, "Unable to set up signal handler");
return(-1);
}
OpenPOWER on IntegriCloud