/*
- * $Id: afp_options.c,v 1.13.2.6 2002-02-11 17:46:40 jmarcus Exp $
+ * $Id: afp_options.c,v 1.13.2.7 2002-03-12 14:21:18 srittau Exp $
*
* Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
* Copyright (c) 1990,1993 Regents of The University of Michigan.
options->flags |= OPTION_CUSTOMICON;
break;
case 'm':
- options->umask = strtol(optarg, &tmp, 8);
+ options->umask = strtoul(optarg, &tmp, 8);
if ((options->umask > 0777)) {
fprintf(stderr, "%s: out of range umask setting provided\n", p);
err++;