summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fmt.c')
-rw-r--r--src/fmt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fmt.c b/src/fmt.c
index e904bd3..3b9dc8e 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -2,8 +2,8 @@
/**
@file fmt.c
- @author djb
- @source qmail
+ @authors djb, feh
+ @ref qmail
@brief formating differnt inputs format for output printing
*/
@@ -20,7 +20,7 @@ unsigned int fmt_str(char *s, const char *t)
return len;
}
-unsigned int fmt_strn(char *s, char *t, unsigned int n)
+unsigned int fmt_strn(char *s, const char *t, unsigned int n)
{
unsigned int len;
char ch;