summaryrefslogtreecommitdiff
path: root/udevstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevstart.c')
-rw-r--r--udevstart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udevstart.c b/udevstart.c
index 5c977b5ce6..21fd93df74 100644
--- a/udevstart.c
+++ b/udevstart.c
@@ -34,7 +34,7 @@
#ifdef LOG
-unsigned char logname[42];
+unsigned char logname[LOGNAME_SIZE];
void log_message(int level, const char *format, ...)
{
va_list args;
@@ -187,7 +187,7 @@ static int udev_scan(void)
}
-int main(int argc, char **argv, char **envp)
+int main(int argc, char *argv[], char *envp[])
{
init_logging("udevstart");