oops.....
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 6 Dec 1991 10:47:30 +0000 (02:47 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 6 Dec 1991 10:47:30 +0000 (02:47 -0800)
SCCS-vsn: usr.sbin/sendmail/src/queue.c 5.34

usr/src/usr.sbin/sendmail/src/queue.c

index d3570d0..e7646c0 100644 (file)
@@ -10,9 +10,9 @@
 
 #ifndef lint
 #ifdef QUEUE
 
 #ifndef lint
 #ifdef QUEUE
-static char sccsid[] = "@(#)queue.c    5.33 (Berkeley) %G% (with queueing)";
+static char sccsid[] = "@(#)queue.c    5.34 (Berkeley) %G% (with queueing)";
 #else
 #else
-static char sccsid[] = "@(#)queue.c    5.33 (Berkeley) %G% (without queueing)";
+static char sccsid[] = "@(#)queue.c    5.34 (Berkeley) %G% (without queueing)";
 #endif
 #endif /* not lint */
 
 #endif
 #endif /* not lint */
 
@@ -916,7 +916,7 @@ printqueue()
                }
                printf("%7s", w->w_name + 2);
 # ifdef LOCKF
                }
                printf("%7s", w->w_name + 2);
 # ifdef LOCKF
-               if (flock(fileno(f), F_TEST, 0) < 0)
+               if (lockf(fileno(f), F_TEST, 0) < 0)
 # else
                if (flock(fileno(f), LOCK_SH|LOCK_NB) < 0)
 # endif
 # else
                if (flock(fileno(f), LOCK_SH|LOCK_NB) < 0)
 # endif