]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: Don't copy device path
authorJan Janssen <medhefgo@web.de>
Sun, 29 May 2022 09:03:43 +0000 (11:03 +0200)
committerJan Janssen <medhefgo@web.de>
Thu, 9 Jun 2022 10:50:13 +0000 (12:50 +0200)
commite17fd5538fb176a46f7589031da06b902573f64a
tree7a02ce2d78db78d010ae0d75d83af6be8415c329
parentb05d69ed720590d01e7886b3ac2f6ff0cbfaa921
boot: Don't copy device path

BS->LocateDevicePath only advances the passed device path pointer.
It does not actually modify it, so there is no need to make a copy.
src/boot/efi/shim.c