aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchristophe@saout.de <christophe@saout.de>2004-01-10 00:54:33 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:14 -0700
commitc53735efc9720b28676c1b51fbed04dc592236e8 (patch)
tree68bec89222d69f82ed74a9dd27bf508fd20457eb
parenta05b77509e6e3723f3e969eefd1c2a34bad79675 (diff)
downloadudev-c53735efc9720b28676c1b51fbed04dc592236e8.tar.gz
[PATCH] small cleanup
This one is nothing important, just add some quotes to be more consistent with the rest and make sure that the return value is positive (since the error return values are negative). Hmm?
-rw-r--r--namedev_parse.c2
-rw-r--r--udev.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/namedev_parse.c b/namedev_parse.c
index de29057a..4b1377dc 100644
--- a/namedev_parse.c
+++ b/namedev_parse.c
@@ -103,7 +103,7 @@ void dump_config_dev(struct config_device *dev)
dev->name, dev->bus, dev->place);
break;
case REPLACE:
- dbg_parse("REPLACE name=%s, kernel_name=%s",
+ dbg_parse("REPLACE name='%s', kernel_name='%s'",
dev->name, dev->kernel_name);
break;
case CALLOUT:
diff --git a/udev.c b/udev.c
index 1222b239..bbff89ba 100644
--- a/udev.c
+++ b/udev.c
@@ -221,7 +221,7 @@ exit_sysbus:
sysbus_disconnect();
exit:
- return retval;
+ return -retval;
}
int main(int argc, char **argv, char **envp)