[vlc-commits] rootwrap: use fputs() where applicable

Rémi Denis-Courmont git at videolan.org
Mon Jun 19 20:08:28 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 19 21:08:15 2017 +0300| [ac382c3b636327e50c81a644c8eb8bd74e1fc3fa] | committer: Rémi Denis-Courmont

rootwrap: use fputs() where applicable

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac382c3b636327e50c81a644c8eb8bd74e1fc3fa
---

 bin/rootwrap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/rootwrap.c b/bin/rootwrap.c
index 77d9fd2ecd..0258773b90 100644
--- a/bin/rootwrap.c
+++ b/bin/rootwrap.c
@@ -245,7 +245,7 @@ int main (int argc, char *argv[])
     }
     if (uid == 0)
     {
-        fprintf (stderr, "Cannot determine unprivileged user for VLC!\n");
+        fputs("Cannot determine unprivileged user for VLC!\n", stderr);
         exit (1);
     }
     setuid (uid);



More information about the vlc-commits mailing list