summaryrefslogtreecommitdiff
path: root/usr/src/lib/libpkg/common/putcfile.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@nexenta.com>2010-11-15 20:03:27 -0800
committerGarrett D'Amore <garrett@nexenta.com>2010-11-15 20:03:27 -0800
commit4656d4747c8743290bfbe910c64cd75eb4e4af8d (patch)
tree241d8b3f0b8796e33937c6a27c670eba002f8f04 /usr/src/lib/libpkg/common/putcfile.c
parent60bec29ea42d65ac648c69b0fb189273e286ca57 (diff)
downloadillumos-gate-4656d4747c8743290bfbe910c64cd75eb4e4af8d.tar.gz
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
Diffstat (limited to 'usr/src/lib/libpkg/common/putcfile.c')
-rw-r--r--usr/src/lib/libpkg/common/putcfile.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}