projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Version 1.8
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index 6a5073cf87ce06f1f851fed9bdf5815c4638f7cc..96a96360750038ea87909c8fdfd45f36a89c9d13 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-48,7
+48,7
@@
struct ioengine_ops *load_ioengine(struct thread_data *td, const char *name)
struct ioengine_ops *ops, *ret;
void *dlhandle;
- str
cpy(engine, name
);
+ str
ncpy(engine, name, sizeof(engine) - 1
);
/*
* linux libaio has alias names, so convert to what we want