]> granicus.if.org Git - strace/blobdiff - ucopy.c
nlattr: add UID/GID netlink attribute decoders
[strace] / ucopy.c
diff --git a/ucopy.c b/ucopy.c
index 2d9ffb38cc14abe3a2d3bf8bfcfc58528e1c0c9f..dafc1e4ed524061ddac568c6caa884e375bce3c5 100644 (file)
--- a/ucopy.c
+++ b/ucopy.c
@@ -6,7 +6,7 @@
  * Copyright (c) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
  *                     Linux for s390 port by D.J. Barrow
  *                    <barrow_dj@mail.yahoo.com,djbarrow@de.ibm.com>
- * Copyright (c) 1999-2017 The strace developers.
+ * Copyright (c) 1999-2018 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -306,7 +306,7 @@ umovestr(struct tcb *const tcp, kernel_ulong_t addr, unsigned int len,
                                if (!nread)
                                        return umovestr_peekdata(pid, addr,
                                                                 len, laddr);
-                               /* fall through */
+                               ATTRIBUTE_FALLTHROUGH;
                        case EFAULT: case EIO:
                                /* address space is inaccessible */
                                if (nread)