diff options
author | danny <danny@FreeBSD.org> | 1999-01-15 10:26:59 +0000 |
---|---|---|
committer | danny <danny@FreeBSD.org> | 1999-01-15 10:26:59 +0000 |
commit | dd8cc45b89f76156e1314ab61b34373434f5b257 (patch) | |
tree | 8d8d47bc9ebcd1a401ec25ee17ddf471db481b11 /usr.sbin | |
parent | efd89902e69344c897e0ab130499f753ab63961e (diff) | |
download | FreeBSD-src-dd8cc45b89f76156e1314ab61b34373434f5b257.zip FreeBSD-src-dd8cc45b89f76156e1314ab61b34373434f5b257.tar.gz |
Print yyyy/mm/dd in /var/log/adduser, instead of yy/mm/dd
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/adduser/adduser.perl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl index b6e5728..256e27c 100644 --- a/usr.sbin/adduser/adduser.perl +++ b/usr.sbin/adduser/adduser.perl @@ -24,7 +24,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: adduser.perl,v 1.40 1998/06/07 18:38:32 wosch Exp $ +# $Id: adduser.perl,v 1.41 1998/08/17 18:50:29 wosch Exp $ # read variables @@ -895,6 +895,7 @@ sub adduser_log { return 1 if $logfile eq "no"; local($sec, $min, $hour, $mday, $mon, $year) = localtime; + $year += 1900; $mon++; foreach $e ('sec', 'min', 'hour', 'mday', 'mon', 'year') { |