Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/stand/efiboot Use %zd instead of %ld for ssize_t.
details: https://anonhg.NetBSD.org/src/rev/d0d66a0d57bc
branches: trunk
changeset: 376370:d0d66a0d57bc
user: rin <rin%NetBSD.org@localhost>
date: Wed Jun 14 10:26:45 2023 +0000
description:
Use %zd instead of %ld for ssize_t.
diffstat:
sys/stand/efiboot/exec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 59f6fe9f01cf -r d0d66a0d57bc sys/stand/efiboot/exec.c
--- a/sys/stand/efiboot/exec.c Wed Jun 14 10:26:00 2023 +0000
+++ b/sys/stand/efiboot/exec.c Wed Jun 14 10:26:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.c,v 1.23 2021/10/06 10:13:19 jmcneill Exp $ */
+/* $NetBSD: exec.c,v 1.24 2023/06/14 10:26:45 rin Exp $ */
/*-
* Copyright (c) 2019 Jason R. Thorpe
@@ -109,7 +109,7 @@ load_file(const char *path, u_long extra
if (len < 0) {
printf(": %s\n", strerror(errno));
} else {
- printf(": returned %ld (expected %ld)\n", len,
+ printf(": returned %zd (expected %zd)\n", len,
expectedlen);
}
return EIO;
Home |
Main Index |
Thread Index |
Old Index