From c53735efc9720b28676c1b51fbed04dc592236e8 Mon Sep 17 00:00:00 2001 From: "christophe@saout.de" Date: Sat, 10 Jan 2004 00:54:33 -0800 Subject: [PATCH] [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? --- namedev_parse.c | 2 +- udev.c | 2 +- 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) -- 2.39.5