File librtas.firmware_rev.patch of Package librtas

---
 librtasevent_src/rtas_post.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/librtasevent_src/rtas_post.c
+++ b/librtasevent_src/rtas_post.c
@@ -48,7 +48,7 @@ parse_post_scn(struct rtas_event *re)
 
     /* and lastly, the location code */
     rtas_copy(post->loc_code, re, 8);
-    post->firmware_rev[8] = '\0';
+    post->loc_code[8] = '\0';
 
     add_re_scn(re, post, RTAS_CPU_SCN);
 
openSUSE Build Service is sponsored by