diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-10-01 15:31:55 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-10-01 15:31:55 +0000 |
commit | 5a1b795757080540fb50aa23e92462f73c7ddda0 (patch) | |
tree | 439da34a58dc8ff02aa36d697f37ab61542598aa /misc/orville-write/files/patch-getutent.c | |
parent | Update to 1.5.1 (diff) |
Fix build with -fno-common
While here fix one program error ("%s" format without argument).
Notes
Notes:
svn path=/head/; revision=550843
Diffstat (limited to 'misc/orville-write/files/patch-getutent.c')
-rw-r--r-- | misc/orville-write/files/patch-getutent.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/misc/orville-write/files/patch-getutent.c b/misc/orville-write/files/patch-getutent.c index acbdef74c917..71bf0750dae3 100644 --- a/misc/orville-write/files/patch-getutent.c +++ b/misc/orville-write/files/patch-getutent.c @@ -1,6 +1,6 @@ ---- getutent.c.orig 2000-01-31 22:02:45.000000000 -0800 -+++ getutent.c 2010-02-02 22:53:30.347068707 -0800 -@@ -20,18 +20,8 @@ +--- getutent.c.orig 2000-02-01 06:02:45 UTC ++++ getutent.c +@@ -20,18 +20,8 @@ static int openut() { if (utmp.state == 0) { @@ -19,7 +19,7 @@ } } -@@ -42,8 +32,7 @@ +@@ -42,8 +32,7 @@ static int openut() void endutent() { if (utmp.state == 1) @@ -29,7 +29,7 @@ } -@@ -52,8 +41,7 @@ +@@ -52,8 +41,7 @@ void endutent() void setutent() { @@ -39,7 +39,7 @@ } -@@ -75,9 +63,9 @@ +@@ -75,9 +63,9 @@ int utmpname(const char *file) /* GETUTENT - Read the next entry from the utmp file into static storage. */ @@ -51,7 +51,7 @@ switch (utmp.state) { -@@ -85,11 +73,11 @@ +@@ -85,11 +73,11 @@ static struct utmp ut; openut(); /* Drop through */ case 1: @@ -66,7 +66,7 @@ } } -@@ -100,9 +88,9 @@ +@@ -100,9 +88,9 @@ static struct utmp ut; * we conform with Linux and Solaris. */ @@ -78,7 +78,7 @@ switch (utmp.state) { -@@ -110,20 +98,20 @@ +@@ -110,20 +98,20 @@ static struct utmp ut; openut(); /* Drop through */ case 1: |