summaryrefslogtreecommitdiff
path: root/archivers/pax/files/gen_subs.c
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/pax/files/gen_subs.c')
-rw-r--r--archivers/pax/files/gen_subs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/archivers/pax/files/gen_subs.c b/archivers/pax/files/gen_subs.c
index 9be8881a52d..df9f9c88fe0 100644
--- a/archivers/pax/files/gen_subs.c
+++ b/archivers/pax/files/gen_subs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: gen_subs.c,v 1.1.1.1 2003/06/23 11:46:22 grant Exp $ */
+/* $NetBSD: gen_subs.c,v 1.2 2003/06/24 06:44:59 grant Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: gen_subs.c,v 1.1.1.1 2003/06/23 11:46:22 grant Exp $");
+__RCSID("$NetBSD: gen_subs.c,v 1.2 2003/06/24 06:44:59 grant Exp $");
#endif
#endif /* not lint */
@@ -127,8 +127,8 @@ ls_list(ARCHD *arcn, time_t now, FILE *fp)
*/
if (strftime(f_date,DATELEN,timefrmt,localtime(&(sbp->st_mtime))) == 0)
f_date[0] = '\0';
- user = user_from_uid(sbp->st_uid, 0);
- group = group_from_gid(sbp->st_gid, 0);
+ user = (char *)user_from_uid(sbp->st_uid, 0);
+ group = (char *)group_from_gid(sbp->st_gid, 0);
(void)fprintf(fp, "%s%2lu %-*s %-*s ", f_mode,
(unsigned long)sbp->st_nlink,
UT_NAMESIZE, user ? user : "", UT_GRPSIZE, group ? group : "");