projects
/
pam_pcsc_cr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tidy build process
[pam_pcsc_cr.git]
/
authfile.c
diff --git
a/authfile.c
b/authfile.c
index 325c29d7a4e66ea96bd79e1efdc47f25b42dc7f1..c43b2d655b0a6f2ee1d7640b648b0cc0cf9f35c7 100644
(file)
--- a/
authfile.c
+++ b/
authfile.c
@@
-224,7
+224,7
@@
struct _auth_obj authfile(const char *tokenid,
}
fprintf(fp, "\n");
if (st.st_uid || st.st_gid) {
-
(void)fchown(fileno(fp), st.st_uid, st.st_gid)
;
+
if (fchown(fileno(fp), st.st_uid, st.st_gid)) /*ign*/
;
}
if (fclose(fp) < 0) {
ret.err = strerror(errno);