summaryrefslogtreecommitdiff
path: root/components/kernel_release.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/kernel_release.c')
-rw-r--r--components/kernel_release.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/kernel_release.c b/components/kernel_release.c
index 4e67a28..531014c 100644
--- a/components/kernel_release.c
+++ b/components/kernel_release.c
@@ -12,7 +12,7 @@ kernel_release(void)
struct utsname udata;
if (uname(&udata) < 0) {
- fprintf(stderr, "uname: %s\n", strerror(errno));
+ warn("uname:");
return NULL;
}