summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0206bb4)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
NULL),
"bt_ctf_writer_add_environment_field error with NULL field value");
NULL),
"bt_ctf_writer_add_environment_field error with NULL field value");
+ /* On Solaris, uname() can return any positive value on success */
+ if (uname(&name) < 0) {
perror("uname");
return -1;
}
perror("uname");
return -1;
}