From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Cc: Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com
Subject: usage of libxl__sprintf for flexarray_append
Date: Mon, 17 Mar 2014 10:15:55 +0100 [thread overview]
Message-ID: <20140317091555.GA10100@aepfle.de> (raw)
What is the reason for code like this in device_disk_add?
flexarray_append(back, libxl__sprintf(gc, "%d", 1));
A few lines above a known value of 1 is written without sprintf, and
later cdrom/disk and r/w is also written as string.
Olaf
next reply other threads:[~2014-03-17 9:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-17 9:15 Olaf Hering [this message]
2014-03-17 9:24 ` usage of libxl__sprintf for flexarray_append Ian Campbell
2014-03-17 9:27 ` Olaf Hering
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=20140317091555.GA10100@aepfle.de \
--to=olaf@aepfle.de \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.