mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
scsi_id: accept tabs in /etc/scsi_id.conf
This commit is contained in:
parent
e7c39acbe7
commit
58310f6698
@ -154,7 +154,7 @@ of 312345:
|
||||
|
||||
.sp
|
||||
.nf
|
||||
BUS=="scsi", PROGRAM=="/sbin/scsi_id -d %N -s %p", RESULT=="312345", NAME="disk%n"
|
||||
SUBSYSTEMS=="scsi", PROGRAM=="/sbin/scsi_id -d %N -s %p", RESULT=="312345", NAME="disk%n"
|
||||
.fi
|
||||
.P
|
||||
|
||||
|
@ -377,11 +377,11 @@ static int get_file_options(const char *vendor, const char *model,
|
||||
/*
|
||||
* argv[0] at 0 is skipped by getopt, but
|
||||
* store the buffer address there for
|
||||
* alter freeing.
|
||||
* later freeing
|
||||
*/
|
||||
(*newargv)[c] = buffer;
|
||||
for (c = 1; c < *argc; c++)
|
||||
(*newargv)[c] = strsep(&buffer, " ");
|
||||
(*newargv)[c] = strsep(&buffer, " \t");
|
||||
}
|
||||
} else {
|
||||
/* No matches */
|
||||
|
Loading…
Reference in New Issue
Block a user