summaryrefslogtreecommitdiffstats
path: root/bin/pax/cache.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/cache.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/cache.c')
-rw-r--r--bin/pax/cache.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/pax/cache.c b/bin/pax/cache.c
index 68e534a..56f59f1 100644
--- a/bin/pax/cache.c
+++ b/bin/pax/cache.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cache.c,v 1.6 1997/02/22 14:04:21 peter Exp $
+ * $Id: cache.c,v 1.7 1997/06/02 06:30:06 charnier Exp $
*/
#ifndef lint
@@ -92,7 +92,7 @@ uidtb_start()
return(-1);
if ((uidtb = (UIDC **)calloc(UID_SZ, sizeof(UIDC *))) == NULL) {
++fail;
- warn(1, "Unable to allocate memory for user id cache table");
+ pax_warn(1, "Unable to allocate memory for user id cache table");
return(-1);
}
return(0);
@@ -121,7 +121,7 @@ gidtb_start()
return(-1);
if ((gidtb = (GIDC **)calloc(GID_SZ, sizeof(GIDC *))) == NULL) {
++fail;
- warn(1, "Unable to allocate memory for group id cache table");
+ pax_warn(1, "Unable to allocate memory for group id cache table");
return(-1);
}
return(0);
@@ -150,7 +150,7 @@ usrtb_start()
return(-1);
if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) {
++fail;
- warn(1, "Unable to allocate memory for user name cache table");
+ pax_warn(1, "Unable to allocate memory for user name cache table");
return(-1);
}
return(0);
@@ -179,7 +179,7 @@ grptb_start()
return(-1);
if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) {
++fail;
- warn(1,"Unable to allocate memory for group name cache table");
+ pax_warn(1,"Unable to allocate memory for group name cache table");
return(-1);
}
return(0);
OpenPOWER on IntegriCloud