]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/quota.c
remove most sparse warning 'Using plain integer as NULL pointer'
[netatalk.git] / etc / afpd / quota.c
index b5d52375c5c2f1e936c0f648185094cb05402d1e..2a12ca5e73e9932a6167e78cd3257f2a99616f06 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: quota.c,v 1.31 2009-10-13 22:55:37 didg Exp $
+ * $Id: quota.c,v 1.32 2009-10-14 02:24:05 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -642,7 +642,7 @@ static int overquota( struct dqblk *dqblk)
         return( 0 );
     }
 #else /* ultrix */
-    if ( gettimeofday( &tv, 0 ) < 0 ) {
+    if ( gettimeofday( &tv, NULL ) < 0 ) {
         LOG(log_error, logtype_afpd, "overquota: gettimeofday: %s", strerror(errno) );
         return( AFPERR_PARAM );
     }