Am Dienstag, 3. Januar 2006 15:43 schrieb Sebastian Held:
> see attached patch for the last-command.
yeah, it stripped my patch...

inline version:
--- last.orig   2004-07-30 14:16:26.000000000 +0200
+++ last.c      2006-01-03 15:35:26.000000000 +0100
@@ -451,13 +451,13 @@
 #endif
                if (!altlist) {
                        snprintf(final, sizeof(final),
-                               "%-8.8s %-12.12s %-16.16s "
+                               "%-8s %-12.12s %-16.16s "
                                "%-16.16s %-7.7s %-12.12s\n",
                                p->ut_name, utline,
                                domain, logintime, logouttime, length);
                } else {
                        snprintf(final, sizeof(final),
-                               "%-8.8s %-12.12s %-16.16s %-7.7s %-12.12s 
%s\n",
+                               "%-8s %-12.12s %-16.16s %-7.7s %-12.12s %s\n",
                                p->ut_name, utline,
                                logintime, logouttime, length, domain);
                }



br,
Sebastian

Attachment: pgpvv0zcJZ4Wa.pgp
Description: PGP signature

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to