summaryrefslogtreecommitdiff
path: root/src/uname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uname.c')
-rw-r--r--src/uname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uname.c b/src/uname.c
index 962a6cfcb..6371ca267 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -50,6 +50,7 @@
#endif
#include "system.h"
+#include "die.h"
#include "error.h"
#include "quote.h"
#include "uname.h"
@@ -283,7 +284,7 @@ main (int argc, char **argv)
struct utsname name;
if (uname (&name) == -1)
- error (EXIT_FAILURE, errno, _("cannot get system name"));
+ die (EXIT_FAILURE, errno, _("cannot get system name"));
if (toprint & PRINT_KERNEL_NAME)
print_element (name.sysname);