Commit 1d62702f authored by Vaibhav Gupta's avatar Vaibhav Gupta Committed by Federico Vaga

software: tools: fau-tg-config: Remove extra '/'

Variable "basepath" is defined as "/sys/bus/zio/devices/"
and variable "attribute"'s array element are in the form of "/xyz".

Thus, when the two are concatenated, the result is:
	"/sys/bus/zio/devices//xyz".

Thus remove extra forward-slash.
Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
Reviewed-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent c69e03e0
......@@ -25,7 +25,7 @@ static char git_version[] = "version: " GIT_VERSION;
#define buf_len 50
#define base_len 40
/* user will edit by adding the device name */
char basepath[base_len] = "/sys/bus/zio/devices/";
char basepath[base_len] = "/sys/bus/zio/devices";
enum fau_attribute {
FAU_TRG_EN,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment