void-packages/srcpkgs/oprofile/patches/system-account.patch

12 lines
352 B
Diff

--- a/opjitconv/opjitconv.c
+++ b/opjitconv/opjitconv.c
@@ -659,7 +659,7 @@
if (non_root) {
pw_oprofile = NULL;
} else {
- pw_oprofile = getpwnam("oprofile");
+ pw_oprofile = getpwnam("_oprofile");
if (pw_oprofile == NULL) {
printf("opjitconv: User information for special user oprofile cannot be found.\n");
rc = OP_JIT_CONV_FAIL;