diff options
-rw-r--r-- | sys/ia64/ia64/clock.c | 2 | ||||
-rw-r--r-- | sys/ufs/ffs/ffs_snapshot.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/ia64/ia64/clock.c b/sys/ia64/ia64/clock.c index 4092bd3..c3615bf 100644 --- a/sys/ia64/ia64/clock.c +++ b/sys/ia64/ia64/clock.c @@ -353,7 +353,7 @@ inittodr(base) deltat = -deltat; if (deltat < 2 * SECDAY) return; - printf("WARNING: clock %s %d days", + printf("WARNING: clock %s %ld days", ts.tv_sec < base ? "lost" : "gained", deltat / SECDAY); } bad: diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c index 5040cb0..c2538a6 100644 --- a/sys/ufs/ffs/ffs_snapshot.c +++ b/sys/ufs/ffs/ffs_snapshot.c @@ -500,8 +500,8 @@ out1: if (collectsnapstats && starttime.tv_sec > 0) { nanotime(&endtime); timespecsub(&endtime, &starttime); - printf("%s: suspended %d.%03ld sec, redo %ld of %d\n", - vp->v_mount->mnt_stat.f_mntonname, endtime.tv_sec, + printf("%s: suspended %ld.%03ld sec, redo %ld of %d\n", + vp->v_mount->mnt_stat.f_mntonname, (long)endtime.tv_sec, endtime.tv_nsec / 1000000, redo, fs->fs_ncg); } if (sbp == NULL) |