diff options
| author | 2016-01-25 14:30:30 +0000 | |
|---|---|---|
| committer | 2016-01-25 14:30:30 +0000 | |
| commit | 45b37e65cdafd132228e2196908bea608c4aa0c2 (patch) | |
| tree | 4adb3bad50e5e02d4ed5e0a97da3a242c840d560 /sys/ddb/db_access.c | |
| parent | Add short comments explaining HT protection modes. (diff) | |
| download | wireguard-openbsd-45b37e65cdafd132228e2196908bea608c4aa0c2.tar.xz wireguard-openbsd-45b37e65cdafd132228e2196908bea608c4aa0c2.zip | |
Kill trailing whitespaces. No object change.
Diffstat (limited to 'sys/ddb/db_access.c')
| -rw-r--r-- | sys/ddb/db_access.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/ddb/db_access.c b/sys/ddb/db_access.c index 6bac42b48ab..ad0134d1a5b 100644 --- a/sys/ddb/db_access.c +++ b/sys/ddb/db_access.c @@ -1,28 +1,28 @@ -/* $OpenBSD: db_access.c,v 1.13 2014/12/19 22:44:58 guenther Exp $ */ +/* $OpenBSD: db_access.c,v 1.14 2016/01/25 14:30:30 mpi Exp $ */ /* $NetBSD: db_access.c,v 1.8 1994/10/09 08:37:35 mycroft Exp $ */ -/* +/* * Mach Operating System * Copyright (c) 1991,1990 Carnegie Mellon University * All Rights Reserved. - * + * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * software, derivative works or modified versions, and any portions * thereof, and that both notices appear in supporting documentation. - * - * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS + * + * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * + * * Carnegie Mellon requests users of this software to return to - * + * * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * School of Computer Science * Carnegie Mellon University * Pittsburgh PA 15213-3890 - * + * * any improvements or extensions that they make and grant Carnegie the * the rights to redistribute these changes. * @@ -63,7 +63,7 @@ db_get_value(db_addr_t addr, size_t size, boolean_t is_signed) for (i = 0; i < size; i++) #endif /* BYTE_ORDER */ value = (value << 8) + (data[i] & 0xFF); - + if (size < sizeof(db_expr_t) && is_signed && (value & extend)) value |= extend; return (value); |
