Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump futexput: cast the mask to u_long (as the op a...
details: https://anonhg.NetBSD.org/src/rev/49d0e342a030
branches: trunk
changeset: 931779:49d0e342a030
user: martin <martin%NetBSD.org@localhost>
date: Thu Apr 30 15:12:25 2020 +0000
description:
futexput: cast the mask to u_long (as the op already is)
diffstat:
usr.bin/kdump/kdump.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5639156627cc -r 49d0e342a030 usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c Thu Apr 30 14:32:05 2020 +0000
+++ b/usr.bin/kdump/kdump.c Thu Apr 30 15:12:25 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kdump.c,v 1.138 2020/04/30 12:17:01 thorpej Exp $ */
+/* $NetBSD: kdump.c,v 1.139 2020/04/30 15:12:25 martin Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: kdump.c,v 1.138 2020/04/30 12:17:01 thorpej Exp $");
+__RCSID("$NetBSD: kdump.c,v 1.139 2020/04/30 15:12:25 martin Exp $");
#endif
#endif /* not lint */
@@ -661,7 +661,7 @@
const char *s = "";
if (opname == NULL) {
- printf("%#lx", op & FUTEX_CMD_MASK);
+ printf("%#lx", op & (u_long)FUTEX_CMD_MASK);
} else {
fputs(opname, stdout);
}
Home |
Main Index |
Thread Index |
Old Index