diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-11-05 12:56:49 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-11-05 12:58:10 +0100 |
commit | cfe2061add5479710f6597899d632e64c54e62ef (patch) | |
tree | 91121679dff012d525f8cdbfce0d5570787bb406 /man | |
parent | f671774f52838d35d78e62ddcb781b5b65b3373f (diff) |
udev: avoid magic constants in kernel-cmdline parsers
Lets recognize the fact that startswith() returns a pointer to the tail on
success. Use it instead of hard-coding string-lengths as magic constants.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions