diff options
Diffstat (limited to 'src/shutdown')
-rw-r--r-- | src/shutdown/hpr_confirm_hostname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown/hpr_confirm_hostname.c b/src/shutdown/hpr_confirm_hostname.c index 00b3de7..040c2f6 100644 --- a/src/shutdown/hpr_confirm_hostname.c +++ b/src/shutdown/hpr_confirm_hostname.c @@ -22,7 +22,7 @@ void hpr_confirm_hostname (void) char *p ; ssize_t r ; if (!isatty(0) || !isatty(1)) - strerr_diefu1sys(100, "ask hostname confirmation") ; + strerr_diefu1x(100, "ask hostname confirmation: stdin or stdout is not a tty") ; if (gethostname(name, HOST_NAME_MAX) < 0) strerr_diefu1sys(111, "get host name") ; name[HOST_NAME_MAX] = 0 ; |