diff options
author | guenther <guenther@openbsd.org> | 2013-08-16 19:47:42 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2013-08-16 19:47:42 +0000 |
commit | 4fa7d8502db337752bf822dede5fd7bc5e5e2375 (patch) | |
tree | ec6d79da4dec8fca2e6394b6775a3dbbabe59439 /usr.sbin/rdate | |
parent | Pass cursor position in wsdisplay_cnattach() call. Preparation for seamless (diff) | |
download | wireguard-openbsd-4fa7d8502db337752bf822dede5fd7bc5e5e2375.tar.xz wireguard-openbsd-4fa7d8502db337752bf822dede5fd7bc5e5e2375.zip |
Use %lld and cast to (long long) when printing time_t values
otto@ millert@ lteo@ mikeb@ deraadt@
Diffstat (limited to 'usr.sbin/rdate')
-rw-r--r-- | usr.sbin/rdate/rdate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rdate/rdate.c b/usr.sbin/rdate/rdate.c index d5bd97dbc16..fc5f4971e71 100644 --- a/usr.sbin/rdate/rdate.c +++ b/usr.sbin/rdate/rdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rdate.c,v 1.28 2013/04/20 20:39:14 millert Exp $ */ +/* $OpenBSD: rdate.c,v 1.29 2013/08/16 19:47:43 guenther Exp $ */ /* $NetBSD: rdate.c,v 1.4 1996/03/16 12:37:45 pk Exp $ */ /* @@ -163,8 +163,8 @@ main(int argc, char **argv) __progname, adjsec); else (void) fprintf(stdout, - "%s: adjust local clock by %ld seconds\n", - __progname, adjust.tv_sec); + "%s: adjust local clock by %lld seconds\n", + __progname, (long long)adjust.tv_sec); } } |