Module Name:    src
Committed By:   christos
Date:           Wed Sep 21 14:30:48 UTC 2011

Modified Files:
        src/usr.bin/make: meta.c

Log Message:
PR/45383: Henning Petersen: Swapped lseek args


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/make/meta.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/meta.c
diff -u src/usr.bin/make/meta.c:1.23 src/usr.bin/make/meta.c:1.24
--- src/usr.bin/make/meta.c:1.23	Fri Sep  2 12:26:21 2011
+++ src/usr.bin/make/meta.c	Wed Sep 21 10:30:47 2011
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.23 2011/09/02 16:26:21 sjg Exp $ */
+/*      $NetBSD: meta.c,v 1.24 2011/09/21 14:30:47 christos Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -159,7 +159,7 @@
 	return;
     }
     /* rewind */
-    lseek(fd, SEEK_SET, 0);
+    (void)lseek(fd, (off_t)0, SEEK_SET);
     if ((fp = fdopen(fd, "r")) == NULL)
 	err(1, "Could not read build monitor file '%d'", fd);
 

Reply via email to