aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-10 13:48:50 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-10 13:48:50 +0100
commitad332e17189668d18aeeea2f61384f749d428d6a (patch)
treeeb6770d0795985c71b870960c20bc8058eb2a95b /src/libutil/util.cc
parent2e98703c0ce2ae0924359cd510e2de1c71cb000c (diff)
Revert "Use posix_spawn to run the pager"
This reverts commit d34d2b2bbf784c0bb420a50905af25e02c6e4989.
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 60be02cd4..305e470eb 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -45,14 +45,8 @@ BaseError & BaseError::addPrefix(const FormatOrString & fs)
SysError::SysError(const FormatOrString & fs)
- : SysError(errno, fs)
-{
-}
-
-
-SysError::SysError(int errNo, const FormatOrString & fs)
- : Error(format("%1%: %2%") % fs.s % strerror(errNo))
- , errNo(errNo)
+ : Error(format("%1%: %2%") % fs.s % strerror(errno))
+ , errNo(errno)
{
}