diff options
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index bb59b09240ca..f311b1ae37df 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -652,7 +652,7 @@ void AutoCloseFD::close() if (fd != -1) { if (::close(fd) == -1) /* This should never happen. */ - throw SysError("closing file descriptor"); + throw SysError(format("closing file descriptor %1%") % fd); fd = -1; } } |