s4:regshell - here we don't need a newline - "ctime" itself provides one
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 21 Mar 2010 15:02:36 +0000 (16:02 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 21 Mar 2010 15:02:36 +0000 (16:02 +0100)
source4/lib/registry/tools/regshell.c

index 1ead1a67f49a8542c0bc24932c10a549632882b6..558e26dcdfc8fe02a78a20ce2fa0ab605a4d94b4 100644 (file)
@@ -125,7 +125,7 @@ static WERROR cmd_info(struct regshell_context *ctx, int argc, char **argv)
        if (classname != NULL)
                printf("Key Class: %s\n", classname);
        last_mod = nt_time_to_unix(last_change);
-       printf("Time Last Modified: %s\n", ctime(&last_mod));
+       printf("Time Last Modified: %s", ctime(&last_mod));
        printf("Number of subkeys: %d\n", num_subkeys);
        printf("Number of values: %d\n", num_values);