From 93a0226ff87132f1560cbd0821eab07175023c9a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 15 Sep 2006 18:15:57 +0000 Subject: name it something more obvious as a temporary device --- src/rename_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.1