samples/pidfd: Fix build

Message ID 20230307110910.93077-1-mic@digikod.net
State New
Headers
Series samples/pidfd: Fix build |

Commit Message

Mickaël Salaün March 7, 2023, 11:09 a.m. UTC
  Fix a typo that made the pidfd-metadata program never build.

Fixes: 60fb0b123971 ("samples: pidfd: build sample program for target architecture")
Cc: Christian Brauner <brauner@kernel.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Link: https://lore.kernel.org/r/20230307110910.93077-1-mic@digikod.net
---
 samples/pidfd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Christian Brauner March 7, 2023, 4:41 p.m. UTC | #1
On Tue, Mar 07, 2023 at 12:09:10PM +0100, Mickaël Salaün wrote:
> Fix a typo that made the pidfd-metadata program never build.
> 
> Fixes: 60fb0b123971 ("samples: pidfd: build sample program for target architecture")
> Cc: Christian Brauner <brauner@kernel.org>
> Cc: Masahiro Yamada <masahiroy@kernel.org>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Signed-off-by: Mickaël Salaün <mic@digikod.net>
> Link: https://lore.kernel.org/r/20230307110910.93077-1-mic@digikod.net
> ---

Thanks for catching that!
Reviewed-by: Christian Brauner <brauner@kernel.org>
  

Patch

diff --git a/samples/pidfd/Makefile b/samples/pidfd/Makefile
index 9754e2d81f70..d82409f7061f 100644
--- a/samples/pidfd/Makefile
+++ b/samples/pidfd/Makefile
@@ -1,4 +1,4 @@ 
 # SPDX-License-Identifier: GPL-2.0
-usertprogs-always-y += pidfd-metadata
+userprogs-always-y += pidfd-metadata
 
 userccflags += -I usr/include