diff options
Diffstat (limited to 'usr/src/cmd/truss/codes.c')
-rw-r--r-- | usr/src/cmd/truss/codes.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/truss/codes.c b/usr/src/cmd/truss/codes.c index de04009d59..88c67ea994 100644 --- a/usr/src/cmd/truss/codes.c +++ b/usr/src/cmd/truss/codes.c @@ -1962,7 +1962,7 @@ pathconfname(int code) #define ALL_O_FLAGS \ (O_NDELAY|O_APPEND|O_SYNC|O_DSYNC|O_NONBLOCK|O_CREAT|O_TRUNC\ |O_EXCL|O_NOCTTY|O_LARGEFILE|O_RSYNC|O_XATTR|O_NOFOLLOW|O_NOLINKS\ - |O_CLOEXEC|FXATTRDIROPEN) + |O_CLOEXEC|O_DIRECTORY|FXATTRDIROPEN) const char * openarg(private_t *pri, int arg) @@ -2022,6 +2022,8 @@ openarg(private_t *pri, int arg) (void) strlcat(str, "|O_NOLINKS", sizeof (pri->code_buf)); if (arg & O_CLOEXEC) (void) strlcat(str, "|O_CLOEXEC", sizeof (pri->code_buf)); + if (arg & O_DIRECTORY) + (void) strlcat(str, "|O_DIRECTORY", sizeof (pri->code_buf)); if (arg & FXATTRDIROPEN) (void) strlcat(str, "|FXATTRDIROPEN", sizeof (pri->code_buf)); |