summaryrefslogtreecommitdiff
path: root/lib/System/Unix/Unix.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-25 21:37:17 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-25 21:37:17 +0000
commit05545755676b9ff35d244e55d749a15e28bb228b (patch)
tree1319237959c931cf8fe384f7b4ca1277bf32e938 /lib/System/Unix/Unix.h
parentdcea1400738e85a5cddbf91093983c593c323a19 (diff)
downloadllvm-05545755676b9ff35d244e55d749a15e28bb228b.tar.gz
llvm-05545755676b9ff35d244e55d749a15e28bb228b.tar.bz2
llvm-05545755676b9ff35d244e55d749a15e28bb228b.tar.xz
For PR797:
Make the Win32 code exception free (untested/uncompiled) which forced some interface changes which had ripple effect. This should be the last of 797. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Unix.h')
-rw-r--r--lib/System/Unix/Unix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Unix.h b/lib/System/Unix/Unix.h
index 29730fd10b..c38c652aec 100644
--- a/lib/System/Unix/Unix.h
+++ b/lib/System/Unix/Unix.h
@@ -94,7 +94,7 @@ inline bool MakeErrMsg(
// but, oh well, just use a generic message
sprintf(buffer, "Error #%d", errnum);
#endif
- *ErrMsg = buffer;
+ *ErrMsg = prefix + buffer;
return true;
}