Home
last modified time | relevance | path

Searched refs:MAXATTR (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/logadm/
H A Dmain.c574 #define MAXATTR 100 macro
584 char ownerbuf[MAXATTR]; in rotatelog()
585 char groupbuf[MAXATTR]; in rotatelog()
586 char modebuf[MAXATTR]; in rotatelog()
715 (void) strlcpy(ownerbuf, opts_optarg(opts, "o"), MAXATTR); in rotatelog()
717 (void) snprintf(ownerbuf, MAXATTR, "%ld", stbuf.st_uid); in rotatelog()
723 (void) snprintf(groupbuf, MAXATTR, "%ld", stbuf.st_gid); in rotatelog()
726 (void) strlcat(ownerbuf, ":", MAXATTR - strlen(ownerbuf)); in rotatelog()
727 (void) strlcat(ownerbuf, group, MAXATTR - strlen(ownerbuf)); in rotatelog()
731 (void) snprintf(modebuf, MAXATTR, in rotatelog()