diff options
Diffstat (limited to 'usr/src/lib/libpkg/common/putcfile.c')
-rw-r--r-- | usr/src/lib/libpkg/common/putcfile.c | 4 |
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); } } |