diff options
author | 2011-09-16 14:05:58 +0200 | |
---|---|---|
committer | 2011-09-16 20:49:04 +0800 | |
commit | 79cf07af7c723007675540508267b828eb8d65d9 (patch) | |
tree | 1f705549b7affd3162029fe3bb863a9137e4d319 /src/uml | |
parent | doc: Add statment about permissions needed to do a core dump (diff) | |
download | libvirt-79cf07af7c723007675540508267b828eb8d65d9.tar.gz libvirt-79cf07af7c723007675540508267b828eb8d65d9.tar.bz2 libvirt-79cf07af7c723007675540508267b828eb8d65d9.zip |
Avoid using "devname" as an identifier.
/usr/lib/stdlib.h in Mac OS X and probably also in BSD's
exports this symbol :(
Diffstat (limited to 'src/uml')
-rw-r--r-- | src/uml/uml_driver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index 32f09d2e9..2b7219a54 100644 --- a/src/uml/uml_driver.c +++ b/src/uml/uml_driver.c @@ -2235,7 +2235,7 @@ cleanup: static int umlDomainOpenConsole(virDomainPtr dom, - const char *devname, + const char *dev_name, virStreamPtr st, unsigned int flags) { @@ -2262,7 +2262,7 @@ umlDomainOpenConsole(virDomainPtr dom, goto cleanup; } - if (devname) { + if (dev_name) { /* XXX support device aliases in future */ umlReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("Named device aliases are not supported")); @@ -2276,13 +2276,13 @@ umlDomainOpenConsole(virDomainPtr dom, if (!chr) { umlReportError(VIR_ERR_INTERNAL_ERROR, - _("cannot find character device %s"), devname); + _("cannot find character device %s"), dev_name); goto cleanup; } if (chr->source.type != VIR_DOMAIN_CHR_TYPE_PTY) { umlReportError(VIR_ERR_INTERNAL_ERROR, - _("character device %s is not using a PTY"), devname); + _("character device %s is not using a PTY"), dev_name); goto cleanup; } |