diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-12 06:21:16 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:25:09 -0700 |
commit | 8673dcb84299fd2adba6281c5359bed4399d5b2d (patch) | |
tree | 9db3b5d4e7218b098c53d62b8805c9c9368a78af /namedev.c | |
parent | af4b05d4917fdfa55eff3d8d53a830464d8162a1 (diff) |
[PATCH] Make dev.d/ handling a separate processing stage
Move the logic when and how to call the dev.d/ scripts into the
main processing path.
Diffstat (limited to 'namedev.c')
-rw-r--r-- | namedev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -204,7 +204,7 @@ static int find_free_number(struct udevice *udev, const char *name) info("find_free_number gone crazy (num=%d), aborted", num); return -1; } - snprintf(filename, NAME_SIZE-1, "%s%d", name, num); + snprintf(filename, NAME_SIZE, "%s%d", name, num); filename[NAME_SIZE-1] = '\0'; } } |