Source-Changes-HG archive

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

[src/trunk]: src/crypto/dist/ssh use PRIu64 for u_int64_t.



details:   https://anonhg.NetBSD.org/src/rev/fe24b5377778
branches:  trunk
changeset: 537614:fe24b5377778
user:      petrov <petrov%NetBSD.org@localhost>
date:      Thu Oct 03 07:41:10 2002 +0000

description:
use PRIu64 for u_int64_t.

diffstat:

 crypto/dist/ssh/sftp-common.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 47fd3332ba8b -r fe24b5377778 crypto/dist/ssh/sftp-common.c
--- a/crypto/dist/ssh/sftp-common.c     Thu Oct 03 07:28:33 2002 +0000
+++ b/crypto/dist/ssh/sftp-common.c     Thu Oct 03 07:41:10 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sftp-common.c,v 1.6 2002/10/01 14:07:39 itojun Exp $   */
+/*     $NetBSD: sftp-common.c,v 1.7 2002/10/03 07:41:10 petrov Exp $   */
 /*
  * Copyright (c) 2001 Markus Friedl.  All rights reserved.
  * Copyright (c) 2001 Damien Miller.  All rights reserved.
@@ -207,7 +207,7 @@
                tbuf[0] = '\0';
        ulen = MAX(strlen(user), 8);
        glen = MAX(strlen(group), 8);
-       snprintf(buf, sizeof buf, "%s %3d %-*s %-*s %8llu %s %s", mode,
+       snprintf(buf, sizeof buf, "%s %3d %-*s %-*s %8" PRIu64 " %s %s", mode,
            st->st_nlink, ulen, user, glen, group,
            (u_int64_t)st->st_size, tbuf, name);
        return xstrdup(buf);



Home | Main Index | Thread Index | Old Index