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/e452dd81a9d3
branches:  trunk
changeset: 957383:e452dd81a9d3
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 c0e8646d8566 -r e452dd81a9d3 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