summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit50eac3b8ab4a91a4428bc0654317d1a525931d78 (patch)
tree8f27989edfd277c727ec86fcdc17ee521654c196 /llvm/lib/System/Unix/Unix.h
parent0b6396c6b32e5030d01fea70db0a2b1b01b76ae7 (diff)
downloadbcm5719-llvm-50eac3b8ab4a91a4428bc0654317d1a525931d78.tar.gz
bcm5719-llvm-50eac3b8ab4a91a4428bc0654317d1a525931d78.zip
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. llvm-svn: 29884
Diffstat (limited to 'llvm/lib/System/Unix/Unix.h')
-rw-r--r--llvm/lib/System/Unix/Unix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/Unix.h b/llvm/lib/System/Unix/Unix.h
index 29730fd10be..c38c652aece 100644
--- a/llvm/lib/System/Unix/Unix.h
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud