Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ypserv/ypserv Fix some printf formats in debug code.



details:   https://anonhg.NetBSD.org/src/rev/ed7f6f33f144
branches:  trunk
changeset: 532936:ed7f6f33f144
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jun 18 02:57:53 2002 +0000

description:
Fix some printf formats in debug code.

diffstat:

 usr.sbin/ypserv/ypserv/ypserv_db.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 7b2b18a37156 -r ed7f6f33f144 usr.sbin/ypserv/ypserv/ypserv_db.c
--- a/usr.sbin/ypserv/ypserv/ypserv_db.c        Tue Jun 18 02:55:19 2002 +0000
+++ b/usr.sbin/ypserv/ypserv/ypserv_db.c        Tue Jun 18 02:57:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ypserv_db.c,v 1.11 2001/06/19 13:42:23 wiz Exp $       */
+/*     $NetBSD: ypserv_db.c,v 1.12 2002/06/18 02:57:53 thorpej Exp $   */
 
 /*
  * Copyright (c) 1994 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ypserv_db.c,v 1.11 2001/06/19 13:42:23 wiz Exp $");
+__RCSID("$NetBSD: ypserv_db.c,v 1.12 2002/06/18 02:57:53 thorpej Exp $");
 #endif
 
 /*
@@ -317,9 +317,9 @@
                    "ypdb_open_db: cached open: domain=%s, map=%s, db=%p,",
                    domain, map, m->db);
                syslog(LOG_DEBUG,
-                   "\tdbdev %d new %d; dbino %d new %d; dbmtime %d new %d",
+                   "\tdbdev %d new %d; dbino %d new %d; dbmtime %ld new %ld",
                    m->dbdev, finfo.st_dev, m->dbino, finfo.st_ino,
-                   m->dbmtime, finfo.st_mtime);
+                   (long) m->dbmtime, (long) finfo.st_mtime);
 #endif
                /*
                 * if status != YP_TRUE, then this cached database is now



Home | Main Index | Thread Index | Old Index