projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.
[oweals/busybox.git]
/
logname.c
diff --git
a/logname.c
b/logname.c
index d614e85f14d3cff7515614487af8e1ff57d67857..d9056c69da364cf37deb593b0eadd2896eaf2483 100644
(file)
--- a/
logname.c
+++ b/
logname.c
@@
-22,6
+22,8
@@
#include "busybox.h"
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
extern int logname_main(int argc, char **argv)
{
@@
-35,5
+37,5
@@
extern int logname_main(int argc, char **argv)
puts(user);
return EXIT_SUCCESS;
}
- error_msg_and_die("no login name
\n
");
+ error_msg_and_die("no login name");
}