diff options
author | Armin Weatherwax | 2010-03-12 12:00:56 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-03-13 01:29:23 -0600 |
commit | 613280ca01b977698090e321830ed9bc491ec1a8 (patch) | |
tree | 3538fb481162caa53d4c777b5a77031ed8e3f98e /linden/indra/newview | |
parent | Improved how SLURLs are handled on Linux. (diff) | |
download | meta-impy-613280ca01b977698090e321830ed9bc491ec1a8.zip meta-impy-613280ca01b977698090e321830ed9bc491ec1a8.tar.gz meta-impy-613280ca01b977698090e321830ed9bc491ec1a8.tar.bz2 meta-impy-613280ca01b977698090e321830ed9bc491ec1a8.tar.xz |
Fixed a small mistake in Linux stack trace formatting.
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/llappviewerlinux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llappviewerlinux.cpp b/linden/indra/newview/llappviewerlinux.cpp index 9727dcf..a844f81 100644 --- a/linden/indra/newview/llappviewerlinux.cpp +++ b/linden/indra/newview/llappviewerlinux.cpp | |||
@@ -181,7 +181,7 @@ static inline BOOL do_basic_glibc_backtrace() | |||
181 | for (i = 0; i < size; i++) | 181 | for (i = 0; i < size; i++) |
182 | { | 182 | { |
183 | // the format of the StraceFile is very specific, to allow (kludgy) machine-parsing | 183 | // the format of the StraceFile is very specific, to allow (kludgy) machine-parsing |
184 | fprintf(StraceFile, "%-ld ", (long)i); | 184 | fprintf(StraceFile, "%-3lu ", (unsigned long)i); |
185 | fprintf(StraceFile, "%-32s\t", "unknown"); | 185 | fprintf(StraceFile, "%-32s\t", "unknown"); |
186 | fprintf(StraceFile, "%p ", stackarray[i]); | 186 | fprintf(StraceFile, "%p ", stackarray[i]); |
187 | fprintf(StraceFile, "%s\n", strings[i]); | 187 | fprintf(StraceFile, "%s\n", strings[i]); |