Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/tunefs Add missing newlines to ACL prints in tunefs; fr...



details:   https://anonhg.NetBSD.org/src/rev/b5016513b53d
branches:  trunk
changeset: 1016642:b5016513b53d
user:      dholland <dholland%NetBSD.org@localhost>
date:      Thu Nov 26 02:06:01 2020 +0000

description:
Add missing newlines to ACL prints in tunefs; from Jan Schaumann in PR 55824.

diffstat:

 sbin/tunefs/tunefs.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 30543818d6d3 -r b5016513b53d sbin/tunefs/tunefs.c
--- a/sbin/tunefs/tunefs.c      Wed Nov 25 21:40:22 2020 +0000
+++ b/sbin/tunefs/tunefs.c      Thu Nov 26 02:06:01 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tunefs.c,v 1.53 2020/08/08 11:44:55 christos Exp $     */
+/*     $NetBSD: tunefs.c,v 1.54 2020/11/26 02:06:01 dholland Exp $     */
 
 /*
  * Copyright (c) 1983, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)tunefs.c   8.3 (Berkeley) 5/3/95";
 #else
-__RCSID("$NetBSD: tunefs.c,v 1.53 2020/08/08 11:44:55 christos Exp $");
+__RCSID("$NetBSD: tunefs.c,v 1.54 2020/11/26 02:06:01 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -391,7 +391,7 @@
                                    "exclusive", name);
                        } else {
                                sblock.fs_flags |= FS_POSIX1EACLS;
-                               printf("%s set", name);
+                               printf("%s set\n", name);
                        }
                } else if (strcmp(pvalue, "disable") == 0) {
                        if ((~sblock.fs_flags & FS_POSIX1EACLS) ==
@@ -400,7 +400,7 @@
                                    name);
                        } else {
                                sblock.fs_flags &= ~FS_POSIX1EACLS;
-                               printf("%s cleared", name);
+                               printf("%s cleared\n", name);
                        }
                }
        }



Home | Main Index | Thread Index | Old Index