From 820fc48f249012c673eb38f63dd8b5ee039627d0 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 17 Jul 2009 13:24:37 +0200 Subject: udevd: add timestamp to --debug output --- libudev/libudev-util-private.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libudev') diff --git a/libudev/libudev-util-private.c b/libudev/libudev-util-private.c index 5f5f4c1d89..f7daa9460b 100644 --- a/libudev/libudev-util-private.c +++ b/libudev/libudev-util-private.c @@ -249,6 +249,8 @@ int util_run_program(struct udev *udev, const char *command, char **envp, int i; int err = 0; + info(udev, "'%s' started\n", command); + /* build argv from command */ util_strscpy(arg, sizeof(arg), command); i = 0; @@ -273,7 +275,6 @@ int util_run_program(struct udev *udev, const char *command, char **envp, argv[0] = arg; argv[1] = NULL; } - info(udev, "'%s'\n", command); /* prepare pipes from child to parent */ if (result != NULL || udev_get_log_priority(udev) >= LOG_INFO) { -- cgit v1.2.3-54-g00ecf