diff options
Diffstat (limited to 'brillo/files/safe_fd.h')
-rw-r--r-- | brillo/files/safe_fd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/brillo/files/safe_fd.h b/brillo/files/safe_fd.h index cb4b46d..cb3612c 100644 --- a/brillo/files/safe_fd.h +++ b/brillo/files/safe_fd.h @@ -52,7 +52,8 @@ class SafeFD { kNoError = 0, kBadArgument, kNotInitialized, // Invalid operation on a SafeFD that was not initialized. - kIOError, // (e.g. called OpenExistingFile on a non-existent file) + kIOError, // Check errno for specific cause. + kDoesNotExist, // The specified path does not exist. kSymlinkDetected, kWrongType, // (e.g. got a directory and expected a file) kWrongUID, |