diff options
author | bde <bde@FreeBSD.org> | 1998-06-28 19:36:49 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-28 19:36:49 +0000 |
commit | c3dde99296d86e98c765c33dd644f8ce9ab2d75f (patch) | |
tree | 36a0bb88c732ce91f42158515e35dea7bd12e0d3 /sbin/ldconfig | |
parent | 4af99ce07c5d58e878672e174d267324e1983ba1 (diff) | |
download | FreeBSD-src-c3dde99296d86e98c765c33dd644f8ce9ab2d75f.zip FreeBSD-src-c3dde99296d86e98c765c33dd644f8ce9ab2d75f.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'sbin/ldconfig')
-rw-r--r-- | sbin/ldconfig/ldconfig.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/ldconfig/ldconfig.c b/sbin/ldconfig/ldconfig.c index 096ce52..1b9e837 100644 --- a/sbin/ldconfig/ldconfig.c +++ b/sbin/ldconfig/ldconfig.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ldconfig.c,v 1.20 1997/08/22 04:42:12 peter Exp $ + * $Id: ldconfig.c,v 1.21 1998/05/26 20:12:50 sos Exp $ */ #include <sys/param.h> @@ -507,14 +507,13 @@ readhints() hdr = (struct hints_header *)addr; if (HH_BADMAG(*hdr)) { - warnx("%s: Bad magic: %o", - hints_file, hdr->hh_magic); + warnx("%s: Bad magic: %lo", hints_file, hdr->hh_magic); return -1; } if (hdr->hh_version != LD_HINTS_VERSION_1 && hdr->hh_version != LD_HINTS_VERSION_2) { - warnx("Unsupported version: %d", hdr->hh_version); + warnx("Unsupported version: %ld", hdr->hh_version); return -1; } |