diff options
| author | Bill Nottingham <notting@redhat.com> | 2006-09-15 18:15:57 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2006-09-15 18:15:57 +0000 |
| commit | 93a0226ff87132f1560cbd0821eab07175023c9a (patch) | |
| tree | 991371f342d1459cbc09863072a15f41fbb36d5a | |
| parent | d785191f52a36e283d910bac453b65b6890431c5 (diff) | |
| download | initscripts-93a0226ff87132f1560cbd0821eab07175023c9a.tar initscripts-93a0226ff87132f1560cbd0821eab07175023c9a.tar.gz initscripts-93a0226ff87132f1560cbd0821eab07175023c9a.tar.bz2 initscripts-93a0226ff87132f1560cbd0821eab07175023c9a.tar.xz initscripts-93a0226ff87132f1560cbd0821eab07175023c9a.zip | |
name it something more obvious as a temporary device
| -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)); |
