diff options
author | christophe@saout.de <christophe@saout.de> | 2004-01-10 00:54:33 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:14 -0700 |
commit | c53735efc9720b28676c1b51fbed04dc592236e8 (patch) | |
tree | 68bec89222d69f82ed74a9dd27bf508fd20457eb | |
parent | a05b77509e6e3723f3e969eefd1c2a34bad79675 (diff) | |
download | systemd-c53735efc9720b28676c1b51fbed04dc592236e8.tar.gz systemd-c53735efc9720b28676c1b51fbed04dc592236e8.tar.bz2 systemd-c53735efc9720b28676c1b51fbed04dc592236e8.zip |
[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.c | 2 | ||||
-rw-r--r-- | udev.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/namedev_parse.c b/namedev_parse.c index de29057a95..4b1377dc32 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: @@ -221,7 +221,7 @@ exit_sysbus: sysbus_disconnect(); exit: - return retval; + return -retval; } int main(int argc, char **argv, char **envp) |