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

12 lines
353 B
Diff
Raw Normal View History

--- opjitconv/opjitconv.c.orig
+++ 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;