[libvirt] [PATCH] Fix copy&paste typos in virProcessInfoGetAffinity

Eric Blake eblake at redhat.com
Tue Mar 9 15:35:09 UTC 2010


On 03/09/2010 06:59 AM, Jiri Denemark wrote:
> +++ b/src/util/processinfo.c
> @@ -130,31 +130,31 @@ realloc:
                        ^^^^^^^^

Is there a policy on indentation of labels?  By default, emacs starts
labels in column 2, so that utilities that expect only function names to
appear in column 1 behave in a more predictable manner.  I'm not sure
what indent(1) does in this case.  At any rate, the git hunk header
detection regexp is an example of an external tool that expects to find
only function names on column 1, and which is being thrown off by the
presence of an intermediate label also in that column.


>          virReportSystemError(errno,
> -                             _("cannot set CPU affinity on process %d"), pid);
> +                             _("cannot get CPU affinity of process %d"), pid);

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100309/7f51a783/attachment-0001.sig>


More information about the libvir-list mailing list