From 4656d4747c8743290bfbe910c64cd75eb4e4af8d Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 15 Nov 2010 20:03:27 -0800 Subject: 420 remove patch (sparse package) support from svr4 pkg 421 libpkg and libadm need to be lint clean Reviewed by: gwr@nexenta.com Reviewed by: peter.tribble@gmail.com Approved by: gwr@nexenta.com --- usr/src/lib/libpkg/common/putcfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/lib/libpkg/common/putcfile.c') diff --git a/usr/src/lib/libpkg/common/putcfile.c b/usr/src/lib/libpkg/common/putcfile.c index 959f2684b8..a55528a1a4 100644 --- a/usr/src/lib/libpkg/common/putcfile.c +++ b/usr/src/lib/libpkg/common/putcfile.c @@ -103,7 +103,7 @@ putcfile(struct cfent *a_ept, FILE *a_fp) return (-1); } } else { - if (fprintf(a_fp, " %d", a_ept->ainfo.major) < 0) + if (fprintf(a_fp, " %ld", a_ept->ainfo.major) < 0) return (-1); } @@ -116,7 +116,7 @@ putcfile(struct cfent *a_ept, FILE *a_fp) return (-1); } } else { - if (fprintf(a_fp, " %d", a_ept->ainfo.minor) < 0) + if (fprintf(a_fp, " %ld", a_ept->ainfo.minor) < 0) return (-1); } } -- cgit v1.2.3