Module Name:    othersrc
Committed By:   stacktic
Date:           Wed Jul  8 15:32:31 UTC 2009

Modified Files:
        othersrc/lib/libfsu_mount: fattr.c

Log Message:
Fixed a_mask to actually use its argument


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/lib/libfsu_mount/fattr.c

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

Modified files:

Index: othersrc/lib/libfsu_mount/fattr.c
diff -u othersrc/lib/libfsu_mount/fattr.c:1.1 othersrc/lib/libfsu_mount/fattr.c:1.2
--- othersrc/lib/libfsu_mount/fattr.c:1.1	Mon Mar 23 20:54:13 2009
+++ othersrc/lib/libfsu_mount/fattr.c	Wed Jul  8 15:32:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: fattr.c,v 1.1 2009/03/23 20:54:13 stacktic Exp $ */
+/* $NetBSD: fattr.c,v 1.2 2009/07/08 15:32:31 stacktic Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: fattr.c,v 1.1 2009/03/23 20:54:13 stacktic Exp $");
+__RCSID("$NetBSD: fattr.c,v 1.2 2009/07/08 15:32:31 stacktic Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -88,7 +88,7 @@
 	int rv;
 	char *ep;
 
-	rv = strtol(optarg, &ep, 8);
+	rv = strtol(s, &ep, 8);
 	if (s == ep || *ep || rv < 0) {
 #ifdef USE_UKFS
 		warn("invalid file mode: %s", s);

Reply via email to