Silence warnings on alpha. Unfortunately we can't add WARNS to this

because of that stupid mode_t warning bug.

MFC After:	1 week
This commit is contained in:
Kris Kennaway 2001-05-20 04:47:55 +00:00
parent 0c37bb2120
commit 28bf320298
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76875

View File

@ -38,6 +38,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int more_than_one = 0;
@ -198,7 +199,7 @@ print_acl_from_stdin(acl_type_t type)
int carried_error = 0;
pathname[sizeof(pathname) - 1] = '\0';
while (fgets(pathname, sizeof(pathname), stdin)) {
while (fgets(pathname, (int)sizeof(pathname), stdin)) {
/* remove the \n */
pathname[strlen(pathname) - 1] = '\0';
if (print_acl(pathname, type) == -1) {