svn commit: r200085 - head/libexec/ulog-helper

Ed Schouten ed at FreeBSD.org
Thu Dec 3 21:44:42 UTC 2009


Author: ed
Date: Thu Dec  3 21:44:41 2009
New Revision: 200085
URL: http://svn.freebsd.org/changeset/base/200085

Log:
  Repair breakage to last-minute API change.
  
  I changed ulog_log{in,out} to return a void, but forgot to change
  ulog-helper as well.
  
  Reported by:	stefanf

Modified:
  head/libexec/ulog-helper/ulog-helper.c

Modified: head/libexec/ulog-helper/ulog-helper.c
==============================================================================
--- head/libexec/ulog-helper/ulog-helper.c	Thu Dec  3 20:59:28 2009	(r200084)
+++ head/libexec/ulog-helper/ulog-helper.c	Thu Dec  3 21:44:41 2009	(r200085)
@@ -68,12 +68,10 @@ main(int argc, char *argv[])
 		if (argc == 3)
 			host = argv[2];
 
-		if (ulog_login(line, pwd->pw_name, host) != 0)
-			return (EX_OSFILE);
+		ulog_login(line, pwd->pw_name, host);
 		return (EX_OK);
 	} else if (argc == 2 && strcmp(argv[1], "logout") == 0) {
-		if (ulog_logout(line) != 0)
-			return (EX_OSFILE);
+		ulog_logout(line);
 		return (EX_OK);
 	}
 


More information about the svn-src-head mailing list