From: wysochanski@sourceware.org <wysochanski@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/lib/format_text archive.c
Date: 26 Jul 2009 12:40:28 -0000 [thread overview]
Message-ID: <20090726124028.14687.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2009-07-26 12:40:28
Modified files:
lib/format_text: archive.c
Log message:
Rename vg_size to vgsize to avoid naming conflicts.
Author: Dave Wysochanski <dwysocha@redhat.com>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/archive.c.diff?cvsroot=lvm2&r1=1.35&r2=1.36
--- LVM2/lib/format_text/archive.c 2009/07/15 20:02:47 1.35
+++ LVM2/lib/format_text/archive.c 2009/07/26 12:40:27 1.36
@@ -57,7 +57,7 @@
/*
* Extract vg name and version number from a filename.
*/
-static int _split_vg(const char *filename, char *vgname, size_t vg_size,
+static int _split_vg(const char *filename, char *vgname, size_t vgsize,
uint32_t *ix)
{
size_t len, vg_len;
@@ -78,7 +78,7 @@
return 0;
vg_len = underscore - filename;
- if (vg_len + 1 > vg_size)
+ if (vg_len + 1 > vgsize)
return 0;
strncpy(vgname, filename, vg_len);
reply other threads:[~2009-07-26 12:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090726124028.14687.qmail@sourceware.org \
--to=wysochanski@sourceware.org \
--cc=lvm-devel@redhat.com \
/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.