summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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:
diff --git a/udev.c b/udev.c
index 1222b239ef..bbff89bad5 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)