From 0e27ba02c9ae6d2772a4500681f08802567c9c3c Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Mon, 12 Mar 2012 11:03:28 +0100 Subject: [PATCH] Fix misspellings. --- Makefile | 2 +- src/pad.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 81139a6..16273a1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Set to 'yes' to include debugging informations, e.g. DEBUG=yes make -e +# Set to 'yes' to include debugging information, e.g. DEBUG=yes make -e DEBUG := no PREFIX ?= /usr diff --git a/src/pad.c b/src/pad.c index 3074364..6d45689 100644 --- a/src/pad.c +++ b/src/pad.c @@ -73,7 +73,7 @@ static FILE *pusb_pad_open_system(t_pusb_options *opts, if (!(user_ent = getpwnam(user)) || !(user_ent->pw_dir)) { - log_error("Unable to retrieve informations for user \"%s\": %s\n", + log_error("Unable to retrieve information for user \"%s\": %s\n", strerror(errno)); return (0); } @@ -111,7 +111,7 @@ static int pusb_pad_protect(const char *user, int fd) log_debug("Protecting pad file...\n"); if (!(user_ent = getpwnam(user))) { - log_error("Unable to retrieve informations for user \"%s\": %s\n", + log_error("Unable to retrieve information for user \"%s\": %s\n", strerror(errno)); return (0); }