Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Adjust snprintb(3) format from '%d' to '%ju' to refl...



details:   https://anonhg.NetBSD.org/src/rev/b47b7b047a6f
branches:  trunk
changeset: 847003:b47b7b047a6f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 06 19:37:43 2019 +0000

description:
Adjust snprintb(3) format from '%d' to '%ju' to reflect reality and so that
it works on big endian machines.

diffstat:

 sys/sys/mman.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4c6d2c303f02 -r b47b7b047a6f sys/sys/mman.h
--- a/sys/sys/mman.h    Fri Dec 06 19:36:22 2019 +0000
+++ b/sys/sys/mman.h    Fri Dec 06 19:37:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mman.h,v 1.61 2019/04/30 09:23:00 uwe Exp $    */
+/*     $NetBSD: mman.h,v 1.62 2019/12/06 19:37:43 christos Exp $       */
 
 /*-
  * Copyright (c) 1982, 1986, 1993
@@ -158,7 +158,7 @@
                ":\064" "ALIGN=4PB\0"           \
                ":\070" "ALIGN=64PB\0"          \
                ":\074" "ALIGN=256PB\0"         \
-               "*"     "ALIGN=2^%d\0"
+               "*"     "ALIGN=2^%ju\0"
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index