63fa0e2f5d
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/powerpc-utils.git#f30d899cbaa5b5b3ef786cf680814bf2621d4193
14 lines
551 B
Diff
14 lines
551 B
Diff
diff -up powerpc-utils-1.3.8/src/sys_ident.c.me powerpc-utils-1.3.8/src/sys_ident.c
|
|
--- powerpc-utils-1.3.8/src/sys_ident.c.me 2020-10-06 15:35:56.620350621 +0200
|
|
+++ powerpc-utils-1.3.8/src/sys_ident.c 2020-10-06 15:36:31.468849936 +0200
|
|
@@ -267,7 +267,8 @@ print_proc_sn_value(void)
|
|
"parameter from RTAS\n");
|
|
return 2;
|
|
}
|
|
- pos = strstr(buf, "uid=");
|
|
+ /* Ignore length field (first 2 bytes) */
|
|
+ pos = strstr(buf +2, "uid=");
|
|
if (pos == NULL) {
|
|
fprintf(stderr, "Parameter from RTAS does "
|
|
"not contain uid\n");
|