mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
14 lines
217 B
Plaintext
14 lines
217 B
Plaintext
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
@@
|
|
expression x, y, z;
|
|
@@
|
|
- memcpy(x, y, z);
|
|
- x += z;
|
|
+ x = mempcpy(x, y, z);
|
|
@@
|
|
expression x, y, z;
|
|
@@
|
|
- memcpy_safe(x, y, z);
|
|
- x += z;
|
|
+ x = mempcpy_safe(x, y, z);
|