]> granicus.if.org Git - strace/blobdiff - aio.c
tests: check decoding of netlink smc_diag_msg attributes
[strace] / aio.c
diff --git a/aio.c b/aio.c
index b69eb25f61f08be61d8bed3deefc487c0fecab91..7adb20df758a9d4ce7e88c85ae528aeef5778d00 100644 (file)
--- a/aio.c
+++ b/aio.c
@@ -3,6 +3,7 @@
  * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
  * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
  * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl>
+ * Copyright (c) 1999-2017 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -166,9 +167,9 @@ print_iocbp(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data)
        struct iocb cb;
 
        if (elem_size < sizeof(kernel_ulong_t)) {
-               addr = * (unsigned int *) elem_buf;
+               addr = *(unsigned int *) elem_buf;
        } else {
-               addr = * (kernel_ulong_t *) elem_buf;
+               addr = *(kernel_ulong_t *) elem_buf;
        }
 
        tprints("{");