33c33
< * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#21 $
---
> * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#23 $
166c166
< else
---
> else {
168a169,170
> audit_warn_closefile(lastfile);
> }
729a732,733
> au_fstat_t au_fstat;
> size_t filesz;
808a813,823
> /*
> * Set trail rotation size.
> */
> if (getacfilesz(&filesz) == 0) {
> bzero(&au_fstat, sizeof(au_fstat));
> au_fstat.af_filesz = filesz;
> if (auditon(A_SETFSIZE, &au_fstat, sizeof(au_fstat)) < 0)
> syslog(LOG_ERR, "Failed to set filesz: %m");
> } else
> syslog(LOG_ERR, "Failed to obtain filesz: %m");
>
< * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#21 $
---
> * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#23 $
166c166
< else
---
> else {
168a169,170
> audit_warn_closefile(lastfile);
> }
729a732,733
> au_fstat_t au_fstat;
> size_t filesz;
808a813,823
> /*
> * Set trail rotation size.
> */
> if (getacfilesz(&filesz) == 0) {
> bzero(&au_fstat, sizeof(au_fstat));
> au_fstat.af_filesz = filesz;
> if (auditon(A_SETFSIZE, &au_fstat, sizeof(au_fstat)) < 0)
> syslog(LOG_ERR, "Failed to set filesz: %m");
> } else
> syslog(LOG_ERR, "Failed to obtain filesz: %m");
>