more fixes

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1529 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-03-30 17:45:33 +00:00
parent b201d1fd93
commit 70cea0ce07
2 changed files with 3 additions and 3 deletions

View File

@@ -198,7 +198,7 @@ get_xsockets (int *unix_socket, int *tcp_socket)
break;
}
if (dpy == 256)
errx ("no free x-servers");
errx (1, "no free x-servers");
if (listen (unixfd, SOMAXCONN) < 0)
err (1, "listen");
if (tcp_socket)

View File

@@ -261,8 +261,8 @@ list_otps (int argc, char **argv, char *user)
usage();
db = otp_db_open ();
if(db == NULL) {
errx ("otp_db_open failed");
if(db == NULL)
errx (1, "otp_db_open failed");
if (user)
print_otp_entry_for_name(db, user);