mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
systemd: Fix the sed adding PID_FS_MAGIC into src/basic/missing_magic.h
Without this trailing backslash only one line (the comment) is added. Note that udev.xml contains the correct sed.
This commit is contained in:
parent
464fd24324
commit
b3c50e06f6
@ -51,7 +51,7 @@
|
||||
<para>Next, fix compatibility with API headers from linux-6.9 and later:</para>
|
||||
|
||||
<screen><userinput remap="pre">sed -i '/DEVMEM_MAGIC 0/{n;n;a \
|
||||
/* cb12fd8e0dabb9a1c8aef55a6a41e2c255fcdf4b (6.8) */
|
||||
/* cb12fd8e0dabb9a1c8aef55a6a41e2c255fcdf4b (6.8) */ \
|
||||
#ifndef PID_FS_MAGIC \
|
||||
#define PID_FS_MAGIC 0x50494446 \
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user