shithub: scc

Download patch

ref: 612866dd4e41726fa1d66bb7f9dbfa39e1dfa9e2
parent: 5e53dda919d0c31035eed65afa299f045dcbad7f
author: Quentin Rameau <quinq@fifth.space>
date: Mon May 30 07:43:50 EDT 2016

[driver] use PATH_MAX instead of FILENAME_MAX

This is a file path there, so use the correct constant.

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -24,7 +24,7 @@
 };
 
 static struct {
-	char cmd[FILENAME_MAX];
+	char cmd[PATH_MAX];
 	char *args[NARGS];
 	char bin[16];
 	char name[8];