Module Name:    src
Committed By:   christos
Date:           Fri Dec  6 19:37:43 UTC 2019

Modified Files:
        src/sys/sys: mman.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/sys/mman.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/mman.h
diff -u src/sys/sys/mman.h:1.61 src/sys/sys/mman.h:1.62
--- src/sys/sys/mman.h:1.61	Tue Apr 30 05:23:00 2019
+++ src/sys/sys/mman.h	Fri Dec  6 14:37:43 2019
@@ -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 @@ typedef	__off_t		off_t;		/* file offset 
 		":\064" "ALIGN=4PB\0"		\
 		":\070" "ALIGN=64PB\0"		\
 		":\074" "ALIGN=256PB\0"		\
-		"*"	"ALIGN=2^%d\0"
+		"*"	"ALIGN=2^%ju\0"
 #endif
 
 /*

Reply via email to