From: "Vivek Katakam" <vivek1717@gmail.com>
To: "John Love-Jensen" <eljay@adobe.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Reg SEGV
Date: Sat, 13 May 2006 09:50:00 -0000 [thread overview]
Message-ID: <d0e0ce060605130250j4f64990bj3d13fe2af40cb9f2@mail.gmail.com> (raw)
In-Reply-To: <C08A0BAD.102B7%eljay@adobe.com>
Hi John,
I am actually working on a proc file and when i am running it I am
getting the error.
The code is in a file called vaprintf.c
These are the Lines of code from where the error came.
/* Write out the message to the file. */
va_start(args, input_msg);
#ifdef LINUX
va_copy(allargs,args);
#else
allargs=args;
#endif
vfprintf(output_file, input_msg, args);
va_end(args);
fputc('\n', output_file);
fflush(output_file);
return_value = ML_LOGGING_MESSAGE_LOGGED;
va_end(args);
Regards,
Vivek
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53)
On 5/12/06, John Love-Jensen <eljay@adobe.com> wrote:
> Hi Vivek,
>
> > I want to know what is wrong with the code.
>
> Probably one of the parameters does not jibe with the % specifier in the
> format string.
>
> Just a guess, though, since you did not post the code.
>
> --Eljay
>
>
next prev parent reply other threads:[~2006-05-13 9:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 14:44 Vivek Katakam
2006-05-12 14:47 ` Andrew Haley
2006-05-12 14:53 ` John Love-Jensen
2006-05-13 9:50 ` Vivek Katakam [this message]
2006-05-13 10:06 ` Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d0e0ce060605130250j4f64990bj3d13fe2af40cb9f2@mail.gmail.com \
--to=vivek1717@gmail.com \
--cc=eljay@adobe.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).