diff options
-rw-r--r-- | src/rename_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rename_device.c b/src/rename_device.c index 295e4461..baf3c045 100644 --- a/src/rename_device.c +++ b/src/rename_device.c @@ -258,7 +258,7 @@ void rename_device(char *src, char *target, struct netdev *current) { } } if (!dev) - asprintf(&dev,"dev%d",rand()); + asprintf(&dev,"__tmp%d",rand()); if (!dev) return; tmpdev = calloc(1,sizeof(struct netdev)); |