summaryrefslogtreecommitdiff
path: root/src/test/test-sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-sleep.c')
-rw-r--r--src/test/test-sleep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/test-sleep.c b/src/test/test-sleep.c
index a1020ad14c..4308ddfb64 100644
--- a/src/test/test-sleep.c
+++ b/src/test/test-sleep.c
@@ -19,10 +19,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <errno.h>
-#include <string.h>
#include <stdio.h>
-#include <fcntl.h>
#include "util.h"
#include "log.h"
@@ -59,7 +56,7 @@ int main(int argc, char* argv[]) {
log_open();
if (getuid() != 0)
- log_warning("This program is unlikely to work for unpriviledged users");
+ log_warning("This program is unlikely to work for unprivileged users");
test_sleep();